mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Added log to interceptor
This commit is contained in:
@@ -101,6 +101,8 @@ export class AuthInterceptor implements HttpInterceptor {
|
||||
const token = authService.getToken();
|
||||
let newReq;
|
||||
|
||||
console.log('intercept() request: ', req);
|
||||
|
||||
if (authService.isTokenExpired()) {
|
||||
authService.setRedirectUrl(this.router.url);
|
||||
// The access token is expired
|
||||
|
Reference in New Issue
Block a user