refactor code to improve readability and maintainability + redesigned announcement bar
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user