mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Added i18n label and fixes
This commit is contained in:
@@ -142,7 +142,7 @@ export class AuthInterceptor implements HttpInterceptor {
|
||||
} else if (this.isUnauthorized(error)) {
|
||||
// The access token provided is expired, revoked, malformed, or invalid for other reasons
|
||||
// Redirect to the login route
|
||||
this.store.dispatch(new RedirectWhenTokenExpiredAction('Your session has expired. Please log in again.'));
|
||||
this.store.dispatch(new RedirectWhenTokenExpiredAction('auth.messages.expired'));
|
||||
}
|
||||
}
|
||||
// Return error response as is.
|
||||
|
Reference in New Issue
Block a user