mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
fed70c5e9b
commit
e7490340f8
@@ -119,7 +119,7 @@ export class AuthService {
|
|||||||
if (hasValue(rd.payload) && rd.payload.authenticated) {
|
if (hasValue(rd.payload) && rd.payload.authenticated) {
|
||||||
return rd.payload;
|
return rd.payload;
|
||||||
} else {
|
} else {
|
||||||
throw (new Error('Invalid email or password'));
|
throw (new Error('auth.errors.invalid-user'));
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user