Skip to content

Commit 73696d9

Browse files
authored
Update error message for CPEx auth error (#3837)
* Update error message for CPEx auth error * undo the hasMessage change
1 parent 74c53a9 commit 73696d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/api/nus/auth/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const handlePost: Handler = async (req, res) => {
3636
const handleError: (error: Error) => Handler = (error) => async (_req, res) => {
3737
res.status(500).json({
3838
message:
39-
'An unexpected error occurred. Please try clearing your browser cache and logging in again. Follow the NUS login page instructions carefully.',
39+
'An unexpected error occurred. Please try logging in with your NUSID, in the format nusstu\\e0123456, instead of your email. You can use Incognito mode or clear your cookies to try again.',
4040
error,
4141
});
4242
};

0 commit comments

Comments
 (0)