Skip to content

Commit

Permalink
Merge pull request #2736 from saschaszott/patch-11
Browse files Browse the repository at this point in the history
use localized error message
  • Loading branch information
tdonohue authored Jan 19, 2024
2 parents 477ea93 + 92a74ce commit 6536fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class AuthService {
if (hasValue(rd.payload) && rd.payload.authenticated) {
return rd.payload;
} else {
throw (new Error('Invalid email or password'));
throw (new Error('auth.errors.invalid-user'));
}
}));

Expand Down

0 comments on commit 6536fbf

Please sign in to comment.