Skip to content

Commit

Permalink
fix: add getUserSync to auth-manager-service
Browse files Browse the repository at this point in the history
  • Loading branch information
uzenith360 committed Apr 28, 2024
1 parent 58a3131 commit 04655f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/ngx-jwt-auth/src/lib/auth-manager.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ export class AuthManagerService {
public resetRedirectUrl(): void {
this.redirectUrl = undefined;
}

public getUserSync(): User | null {
return this.jwtAuthService.getUser();
}
}


Expand Down

0 comments on commit 04655f1

Please sign in to comment.