Remove mastodon posts on delete and OTP
This commit is contained in:
@@ -16,7 +16,8 @@ form.addEventListener('submit', async (event) => {
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
status.textContent = 'Sign-in failed.';
|
||||
const result = await response.json().catch(() => ({}));
|
||||
status.textContent = result.detail || 'Sign-in failed.';
|
||||
status.style.color = '#b91c1c';
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user