mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +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
|
// It's a success Login/Logout response
|
||||||
let authRes: HttpResponse<any>;
|
let authRes: HttpResponse<any>;
|
||||||
if (this.isLoginResponse(response)) {
|
if (this.isLoginResponse(response)) {
|
||||||
console.log('auth.interceptor passes success login response from backend with token: ', response.headers.get('authorization'));
|
|
||||||
// login successfully
|
// login successfully
|
||||||
const newToken = response.headers.get('authorization');
|
const newToken = response.headers.get('authorization');
|
||||||
authRes = response.clone({body: this.makeAuthStatusObject(true, newToken)});
|
authRes = response.clone({body: this.makeAuthStatusObject(true, newToken)});
|
||||||
|
Reference in New Issue
Block a user