diff options
Diffstat (limited to 'frontend/src/app/_services')
-rw-r--r-- | frontend/src/app/_services/auth.service.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/frontend/src/app/_services/auth.service.ts b/frontend/src/app/_services/auth.service.ts index d5a16b5b..e474d436 100644 --- a/frontend/src/app/_services/auth.service.ts +++ b/frontend/src/app/_services/auth.service.ts @@ -52,7 +52,6 @@ export class AuthService { var username = property['name']; if (username != "") { this.refresher = setTimeout(() => { - console.log('refreshing token!'); this.http.post(`${API_SETTINGS.apiURL}/auth/renewJwt`, {}, { headers: this.authHeader(), responseType: 'text' }).subscribe((response) => { this.authenticate(response); }); @@ -60,7 +59,6 @@ export class AuthService { } else { this.refresher = setTimeout(() => { - console.log('refreshing token!'); this.getGuestToken().subscribe((response) => { this.authenticate(response); }); @@ -87,7 +85,6 @@ export class AuthService { if (this.cookie.check('token')) { const token = this.cookie.get('token'); const decodedToken = jwtHelper.decodeToken(token); - console.log("decoded:", decodedToken); this.shared.loggedIn = this.isAuthenticated(); this.shared.username = decodedToken.name; this.shared.userId = decodedToken.id; |