Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 2x | import { ErrorMessages } from './types';
export const errors: ErrorMessages = {
userNotFound: 'User not found',
noPasswordSet: 'User has no password set',
incorrectPassword: 'Incorrect password',
unrecognizedOptionsForLogin: 'Unrecognized options for login request',
matchFailed: 'Match failed',
invalidEmail: 'Invalid email',
invalidPassword: 'Invalid password',
invalidNewPassword: 'Invalid new password',
invalidToken: 'Invalid token',
invalidCredentials: 'Invalid credentials',
verifyEmailLinkExpired: 'Verify email link expired',
verifyEmailLinkUnknownAddress: 'Verify email link is for unknown address',
resetPasswordLinkExpired: 'Reset password link expired',
resetPasswordLinkUnknownAddress: 'Reset password link is for unknown address',
usernameAlreadyExists: 'Username already exists',
emailAlreadyExists: 'Email already exists',
usernameOrEmailRequired: 'Username or Email is required',
};
|