diff --git a/src/app/core/auth/auth.interceptor.ts b/src/app/core/auth/auth.interceptor.ts index dc9cfa34ec..a3e3da6973 100644 --- a/src/app/core/auth/auth.interceptor.ts +++ b/src/app/core/auth/auth.interceptor.ts @@ -34,7 +34,6 @@ export class AuthInterceptor implements HttpInterceptor { constructor(private inj: Injector, private router: Router, private store: Store) { } - private is302Response(response: HttpResponseBase): boolean { return response.status === 302; } @@ -139,7 +138,7 @@ export class AuthInterceptor implements HttpInterceptor { // Pass on the new request instead of the original request. return next.handle(newReq).pipe( - tap((response) => console.log('next.handle: ', response)), + // tap((response) => console.log('next.handle: ', response)), map((response) => { // Intercept a Login/Logout response if (response instanceof HttpResponse && this.isSuccess(response) && (this.isLoginResponse(response) || this.isLogoutResponse(response))) {