From 73c9b4261f2da2fb89df70832a71c89383b7c5e6 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 12 Apr 2020 04:03:41 +0200 Subject: [PATCH] Removing debug logs --- src/app/auth/auth.module.ts | 2 +- src/app/auth/auth.service.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/auth/auth.module.ts b/src/app/auth/auth.module.ts index 314b0c06..6fcb8e58 100644 --- a/src/app/auth/auth.module.ts +++ b/src/app/auth/auth.module.ts @@ -96,7 +96,7 @@ export class AuthModule forbidden_route: '/Forbidden', unauthorized_route: '/Unauthorized', log_console_warning_active: true, - log_console_debug_active: true + log_console_debug_active: false }; this.oidcSecurityService.setupModule(config, configResult.authWellknownEndpoints); diff --git a/src/app/auth/auth.service.ts b/src/app/auth/auth.service.ts index e617d4cd..739812a5 100644 --- a/src/app/auth/auth.service.ts +++ b/src/app/auth/auth.service.ts @@ -36,8 +36,6 @@ export class AuthService this.oidcSecurityService.getUserData().subscribe(userData => { this.user = userData; - console.log("Got user data"); - console.log(this.user); }); } @@ -63,7 +61,6 @@ export class AuthService { this.oidcSecurityService.getIsAuthorized().subscribe((authorized: boolean) => { - console.log("Is authorized: " + authorized); this.isAuthenticated = authorized; if (!authorized) {