mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Removed log from auth.interceptor
This commit is contained in:
@@ -186,7 +186,6 @@ export class AuthInterceptor implements HttpInterceptor {
|
||||
// It's a success Login/Logout response
|
||||
let authRes: HttpResponse<any>;
|
||||
if (this.isLoginResponse(response)) {
|
||||
console.log('auth.interceptor passes success login response from backend with token: ', response.headers.get('authorization'));
|
||||
// login successfully
|
||||
const newToken = response.headers.get('authorization');
|
||||
authRes = response.clone({body: this.makeAuthStatusObject(true, newToken)});
|
||||
|
Reference in New Issue
Block a user