Skip to content

Commit

Permalink
chore: ambiguous error
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Nov 13, 2024
1 parent 1f52414 commit b05ccb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/server/src/core/auth/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import {
InternalServerError,
InvalidEmail,
InvalidEmailToken,
NotFound,
SignUpForbidden,
Throttle,
URLHelper,
UseNamedGuard,
WrongSignInCredentials,
} from '../../fundamentals';
import { UserService } from '../user';
import { validators } from '../utils/validators';
Expand Down Expand Up @@ -122,7 +122,7 @@ export class AuthController {
credential.password
);
} else {
throw new NotFound();
throw new WrongSignInCredentials();
}
}

Expand Down

0 comments on commit b05ccb5

Please sign in to comment.