text changes, error styling, navbar menu styling
This commit is contained in:
@@ -206,8 +206,7 @@ router.post(
|
||||
|
||||
if (!user) {
|
||||
return res.status(401).json({
|
||||
error:
|
||||
"Unable to log in. Please check your email and password, or create an account.",
|
||||
error: "Please check your email and password, or create an account.",
|
||||
});
|
||||
}
|
||||
|
||||
@@ -226,8 +225,7 @@ router.post(
|
||||
// Increment login attempts
|
||||
await user.incLoginAttempts();
|
||||
return res.status(401).json({
|
||||
error:
|
||||
"Unable to log in. Please check your email and password, or create an account.",
|
||||
error: "Please check your email and password, or create an account.",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user