Skip to content

Commit

Permalink
Fix 'or' typos (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Aug 31, 2023
1 parent 4dd6ed1 commit 89bfeb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ if (Astro.request.method === "POST") {
) {
// user does not exist
// or invalid password
errorMessage = "Incorrect username of password";
errorMessage = "Incorrect username or password";
} else {
errorMessage = "An unknown error occurred";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
// user does not exist
// or invalid password
return res.status(400).json({
error: "Incorrect username of password"
error: "Incorrect username or password"
});
}
return res.status(500).json({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const actions: Actions = {
// user does not exist
// or invalid password
return fail(400, {
message: "Incorrect username of password"
message: "Incorrect username or password"
});
}
return fail(500, {
Expand Down

0 comments on commit 89bfeb9

Please sign in to comment.