feat(login): log user info on successful login success page
Some checks failed
Some checks failed
This commit is contained in:
parent
3da534f3ae
commit
7eebd12699
2 changed files with 6 additions and 18 deletions
|
@ -12,8 +12,8 @@ import { User } from '../../model/User';
|
|||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export default class LoginSuccessComponent implements OnInit {
|
||||
private router: Router = inject(Router);
|
||||
private authService: AuthService = inject(AuthService);
|
||||
async ngOnInit() {
|
||||
console.log(this.authService.getUser())
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue