mirror of
https://github.com/bitwarden/jslib
synced 2025-12-23 11:43:51 +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.email = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.rememberEmail = await this.stateService.getRememberEmail();
|
this.rememberEmail = await this.stateService.getRememberedEmail() != null;
|
||||||
if (this.rememberEmail == null) {
|
|
||||||
this.rememberEmail = true;
|
|
||||||
}
|
|
||||||
if (Utils.isBrowser && !Utils.isNode) {
|
if (Utils.isBrowser && !Utils.isNode) {
|
||||||
this.focusInput();
|
this.focusInput();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user