diff --git a/libs/auth/src/angular/login/login.component.ts b/libs/auth/src/angular/login/login.component.ts index 66c47b8b3c..8021fdf6b6 100644 --- a/libs/auth/src/angular/login/login.component.ts +++ b/libs/auth/src/angular/login/login.component.ts @@ -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 { - 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();