diff --git a/docs/auth.md b/docs/auth.md index b91469c47..a24f19d13 100644 --- a/docs/auth.md +++ b/docs/auth.md @@ -171,8 +171,8 @@ export class UserComponent implements OnDestroy { constructor() { this.idTokenSubscription = this.idToken$.subscribe((token: string | null) => { - //handle idToken changes here. Note, that user will be null if there is no currently logged in user. - console.log(string); + //handle idToken changes here. Note, that token will be null if there is no currently logged in user. + console.log(token); }) }