diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index 02141b2..f985388 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -94,7 +94,7 @@ export class HomeComponent implements OnInit { } - if (sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') { + if ((sessionStorage.getItem('isDefaultPassword') == 'true' || sessionStorage.getItem('isPasswordExpired') == 'true') && JSON.parse(sessionStorage.getItem('userdata')).userName != 'admin') { this.changePasswordPopup() }