From 159ce66050b6133d0d1af5126bf95970cc66adda Mon Sep 17 00:00:00 2001 From: Julius Gruber Date: Tue, 25 Jun 2019 13:29:16 +0200 Subject: [PATCH] Removed logs from auth.interceptor --- src/app/core/auth/auth.interceptor.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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))) {