Fixed several issues with policy and logins
This commit is contained in:
@ -25,11 +25,11 @@ export class ApiAuthenticationService {
|
||||
}
|
||||
|
||||
getImpersonatedId() {
|
||||
return this.user.impersonation.id;
|
||||
return this.user.impersonation?.id;
|
||||
}
|
||||
|
||||
getUsername() {
|
||||
return this.user.name;
|
||||
return this.user?.name;
|
||||
}
|
||||
|
||||
update() {
|
||||
|
Reference in New Issue
Block a user