Skip to content

Commit

Permalink
Add missing property reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Jun 18, 2024
1 parent 5fe38f4 commit 1c3d9cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class AuthController {
this.eventRelay.emit('user-login-failed', {
authenticationMethod: usedAuthenticationMethod,
userEmail: email,
reason: 'wrong credentials',
});
throw new AuthError('Wrong username or password. Do you have caps lock on?');
}
Expand Down

0 comments on commit 1c3d9cb

Please sign in to comment.