[auth] remove debug log

This commit is contained in:
nymkappa 2024-02-09 15:53:20 +01:00
parent e6266ecedc
commit bb43599493
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -64,11 +64,9 @@ export class ServicesApiServices {
}
this.getUserInfo$().subscribe();
console.log('refresh user');
this.router.events.subscribe((event) => {
if (event instanceof NavigationStart) {
if (this.currentAuth !== localStorage.getItem('auth')) {
console.log('refresh user');
this.getUserInfo$().subscribe();
}
}