Remove debug console.log statements from auth.service.ts.
This commit is contained in:
parent
d84d0c7fef
commit
f117cb2477
|
|
@ -82,7 +82,6 @@ export class AuthService {
|
||||||
}
|
}
|
||||||
|
|
||||||
const claims = this.extractJwtClaims(jwt);
|
const claims = this.extractJwtClaims(jwt);
|
||||||
console.log("User claims: ", claims);
|
|
||||||
this.userClaimsSubject.set(claims);
|
this.userClaimsSubject.set(claims);
|
||||||
this.isAuthenticatedSubject.set(true);
|
this.isAuthenticatedSubject.set(true);
|
||||||
if (this.username() == null) {
|
if (this.username() == null) {
|
||||||
|
|
@ -109,7 +108,6 @@ export class AuthService {
|
||||||
localStorage.setItem('jwt', jwt);
|
localStorage.setItem('jwt', jwt);
|
||||||
|
|
||||||
const claims = this.extractJwtClaims(jwt);
|
const claims = this.extractJwtClaims(jwt);
|
||||||
console.log("Saving user claims: ", claims);
|
|
||||||
this.userClaimsSubject.set(claims);
|
this.userClaimsSubject.set(claims);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user