From 40dd0dd1d214db378fa7525c5b615622de0870a6 Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Fri, 18 Oct 2024 09:48:40 -0500 Subject: [PATCH] Replace loggedEmail with this.emailFormControl.value. --- libs/auth/src/angular/login/login.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/auth/src/angular/login/login.component.ts b/libs/auth/src/angular/login/login.component.ts index 8021fdf6b69..8b48bf05f02 100644 --- a/libs/auth/src/angular/login/login.component.ts +++ b/libs/auth/src/angular/login/login.component.ts @@ -254,7 +254,7 @@ export class LoginComponent implements OnInit, OnDestroy { } protected async launchSsoBrowserWindow(clientId: "browser" | "desktop"): Promise { - await this.loginComponentService.launchSsoBrowserWindow(this.loggedEmail, clientId); + await this.loginComponentService.launchSsoBrowserWindow(this.emailFormControl.value, clientId); } protected async evaluatePassword(): Promise { @@ -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, }); }