mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
Move getLoginWithDevice call to loadEmailSettings.
This commit is contained in:
@@ -469,6 +469,8 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
this.formGroup.controls.rememberEmail.setValue(true);
|
||||
}
|
||||
}
|
||||
|
||||
await this.getLoginWithDevice(this.emailFormControl.value);
|
||||
}
|
||||
|
||||
private focusInput() {
|
||||
@@ -482,8 +484,6 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
private async defaultOnInit(): Promise<void> {
|
||||
await this.getLoginWithDevice(this.emailFormControl.value);
|
||||
|
||||
// If there's an existing org invite, use it to get the password policies
|
||||
const orgPolicies = await this.loginComponentService.getOrgPolicies();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user