Fixed several issues with policy and logins

This commit is contained in:
Tom
2024-10-31 18:49:52 +00:00
parent 2bde8b850a
commit 44df0daddf
5 changed files with 33 additions and 26 deletions

View File

@ -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() {