From 3c4bfb16f55aa51a50ee99327caca639e072cdab Mon Sep 17 00:00:00 2001 From: Sonja Galovic Date: Wed, 13 Apr 2022 22:43:52 +0200 Subject: Kod preprocesiranja i tretiranja null vrednosti korisnik vidi koliko ima null redova/kolona od ukupnog broja redova/kolona. Obrisani console.log-ovi po frontu. --- frontend/src/app/_services/auth.service.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'frontend/src/app/_services') 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; -- cgit v1.2.3