mirror of
https://github.com/bitwarden/jslib
synced 2025-12-23 19:53:55 +00:00
[review] Revist remember email
This commit is contained in:
@@ -53,10 +53,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
|
||||
this.email = '';
|
||||
}
|
||||
}
|
||||
this.rememberEmail = await this.stateService.getRememberEmail();
|
||||
if (this.rememberEmail == null) {
|
||||
this.rememberEmail = true;
|
||||
}
|
||||
this.rememberEmail = await this.stateService.getRememberedEmail() != null;
|
||||
if (Utils.isBrowser && !Utils.isNode) {
|
||||
this.focusInput();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user