Added in a cookie popup and proper newsletter functionality
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 21s

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2023-12-06 00:38:33 +00:00
parent e6522fb05e
commit 52614e5835
37 changed files with 2634 additions and 154 deletions
+7 -1
View File
@@ -63,7 +63,13 @@ document.querySelector("#login form").addEventListener("submit", e =>
showErrorMessage("Please type in a username and password.", "login");
return;
}
showErrorMessage("Invalid username or password.", "login");
if (res.status === 401)
{
showErrorMessage('Invalid username or password.', 'login');
return;
}
showErrorMessage(json.error, 'login');
}));
return;
}