1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

Move getLoginWithDevice call to loadEmailSettings.

This commit is contained in:
Alec Rippberger
2024-10-18 09:37:59 -05:00
parent a49c4458d3
commit ee1929bcc9

View File

@@ -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();