mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-08-07 09:01:29 -04:00
Removing debug logs
This commit is contained in:
parent
8f89f0600d
commit
73c9b4261f
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user