Replace loggedEmail with this.emailFormControl.value.

This commit is contained in:
Alec Rippberger 2024-10-18 09:48:40 -05:00
parent ee1929bcc9
commit 40dd0dd1d2
No known key found for this signature in database
GPG Key ID: 9DD8DA583B28154A
1 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ export class LoginComponent implements OnInit, OnDestroy {
}
protected async launchSsoBrowserWindow(clientId: "browser" | "desktop"): Promise<void> {
await this.loginComponentService.launchSsoBrowserWindow(this.loggedEmail, clientId);
await this.loginComponentService.launchSsoBrowserWindow(this.emailFormControl.value, clientId);
}
protected async evaluatePassword(): Promise<void> {
@ -324,11 +324,11 @@ export class LoginComponent implements OnInit, OnDestroy {
if (emailValid) {
this.toggleValidateEmail(true);
await this.getLoginWithDevice(this.loggedEmail);
await this.getLoginWithDevice(this.emailFormControl.value);
this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
pageTitle: { key: "welcomeBack" },
pageSubtitle: this.loggedEmail,
pageSubtitle: this.emailFormControl.value,
pageIcon: this.Icons.WaveIcon,
});
}