mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-12 13:39:14 +01:00
Move getLoginWithDevice call to loadEmailSettings.
This commit is contained in:
parent
a49c4458d3
commit
ee1929bcc9
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user