Add profile to user interface

This commit is contained in:
Peter Maquiran
2021-05-10 15:45:09 +01:00
parent 556cd0bd9b
commit cbced6f859
2 changed files with 7 additions and 3 deletions
+6
View File
@@ -54,6 +54,12 @@ export class AuthService {
console.log(response)
if (result) {
if( response.RoleID == 100000014){
response.Profile = 'PR'
} else if(response.RoleID == 100000011) {
response.Profile = 'MDGPR'
}
response.BasicAuthKey = user.BasicAuthKey
this.ValidatedUser = response;