Skip to content

Commit 6536fbf

Browse files
authored
Merge pull request DSpace#2736 from saschaszott/patch-11
use localized error message
2 parents 477ea93 + 92a74ce commit 6536fbf

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)