/** contains the passwordIn observable value @public */
public changePassword: boolean;
+ /** To show the visiblity of password @public */
+ public visiblePassword: boolean;
+
/** Utilizes auth service for any auth operations @private */
private authService: AuthenticationService;
}
}
+ /** To Show or Hide the Password @public */
+ public onShowPassword(): void {
+ this.visiblePassword = !this.visiblePassword;
+ }
+
/** To display password expiry Toaster with required data @public */
public passwordExpiryToaster(): void {
if ((this.accountNoOfDays === '1' && this.passwordNoOfDays === '1') ||