Skip to content

Commit 92a74ce

Browse files
authored
use localized error message
1 parent 610062b commit 92a74ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class AuthService {
119119
if (hasValue(rd.payload) && rd.payload.authenticated) {
120120
return rd.payload;
121121
} else {
122-
throw (new Error('Invalid email or password'));
122+
throw (new Error('auth.errors.invalid-user'));
123123
}
124124
}));
125125

0 commit comments

Comments
 (0)