Skip to content

Commit

Permalink
fix: auth errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Nov 22, 2023
1 parent 8a8deb3 commit 5ab6791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/app/schemas/auth/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { getErrorFrom } from '../errors/all-errors';
export type AuthenticationErrors = ServerErrors | UserFormErrors;

export enum UserFormErrors {
INCORRECT_PASSWORD = 'LOGIN.ERROR_INCORRECT_PASSWORD',
USER_NOT_FOUND = 'LOGIN.ERROR_DOESNT_EXIST',
INCORRECT_PASSWORD = 'LOGIN.PASSWORD.ERROR_INCORRECT_PASSWORD',
USER_NOT_FOUND = 'LOGIN.USERNAME.ERROR_DOESNT_EXIST',
}

export namespace AuthenticationErrors {
Expand Down

0 comments on commit 5ab6791

Please sign in to comment.