Removing debug logs

This commit is contained in:
Zoe Roux 2020-04-12 04:03:41 +02:00
parent 8f89f0600d
commit 73c9b4261f
2 changed files with 1 additions and 4 deletions

View File

@ -96,7 +96,7 @@ export class AuthModule
forbidden_route: '/Forbidden', forbidden_route: '/Forbidden',
unauthorized_route: '/Unauthorized', unauthorized_route: '/Unauthorized',
log_console_warning_active: true, log_console_warning_active: true,
log_console_debug_active: true log_console_debug_active: false
}; };
this.oidcSecurityService.setupModule(config, configResult.authWellknownEndpoints); this.oidcSecurityService.setupModule(config, configResult.authWellknownEndpoints);

View File

@ -36,8 +36,6 @@ export class AuthService
this.oidcSecurityService.getUserData().subscribe(userData => this.oidcSecurityService.getUserData().subscribe(userData =>
{ {
this.user = 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) => this.oidcSecurityService.getIsAuthorized().subscribe((authorized: boolean) =>
{ {
console.log("Is authorized: " + authorized);
this.isAuthenticated = authorized; this.isAuthenticated = authorized;
if (!authorized) if (!authorized)
{ {