File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
frontend/src/common/utils Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import { AuthError } from '../models/auth';
55 */
66export const AUTH_ERROR_MESSAGES : Record < string , string > = {
77 // Sign In errors
8- 'UserNotFoundException' : 'The email address or password you entered is incorrect .' ,
9- 'NotAuthorizedException' : 'The email address or password you entered is incorrect .' ,
8+ 'UserNotFoundException' : 'Incorrect email or password.' ,
9+ 'NotAuthorizedException' : 'Incorrect email or password.' ,
1010 'UserNotConfirmedException' : 'Please check your email to verify your account.' ,
1111 'PasswordResetRequiredException' : 'You need to reset your password. Please check your email.' ,
1212
1313 // Sign Up errors
14- 'UsernameExistsException' : 'This email address is already associated with an account. Please sign in or reset your password.' ,
14+ 'UsernameExistsException' : 'This email is already linked to an account. Please sign in or reset your password.' ,
1515 'InvalidPasswordException' : 'Password does not meet the requirements. Please use a stronger password.' ,
1616 'InvalidParameterException' : 'Please check your input and try again.' ,
1717
Original file line number Diff line number Diff line change 7070 "numeric" : " Must contain only numbers" ,
7171 "exact-length" : " Must be exactly {{length}} characters" ,
7272 "passwords-match" : " Passwords must match" ,
73- "email" : " Please enter a valid email address" ,
73+ "email" :
" Please provide a valid email address (e.g., [email protected] ). " ,
7474 "required" : " This field is required" ,
7575 "min-length" : " Must be at least {{length}} characters" ,
7676 "max-length" : " Must be at most {{length}} characters" ,
You can’t perform that action at this time.
0 commit comments