refactor code to improve readability and maintainability + redesigned announcement bar

This commit is contained in:
daniel31x13
2024-05-22 20:56:56 -04:00
parent 811628a952
commit a498f3a10d
22 changed files with 319 additions and 171 deletions
@@ -129,7 +129,8 @@ export default async function updateUserById(
// Verify password
if (!user.password) {
return {
response: "User has no password.",
response:
"User has no password. Please reset your password from the forgot password page.",
status: 400,
};
}