mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Replace loggedEmail with this.emailFormControl.value.
This commit is contained in:
@@ -254,7 +254,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected async launchSsoBrowserWindow(clientId: "browser" | "desktop"): Promise<void> {
|
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> {
|
protected async evaluatePassword(): Promise<void> {
|
||||||
@@ -324,11 +324,11 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
if (emailValid) {
|
if (emailValid) {
|
||||||
this.toggleValidateEmail(true);
|
this.toggleValidateEmail(true);
|
||||||
await this.getLoginWithDevice(this.loggedEmail);
|
await this.getLoginWithDevice(this.emailFormControl.value);
|
||||||
|
|
||||||
this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
|
this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
|
||||||
pageTitle: { key: "welcomeBack" },
|
pageTitle: { key: "welcomeBack" },
|
||||||
pageSubtitle: this.loggedEmail,
|
pageSubtitle: this.emailFormControl.value,
|
||||||
pageIcon: this.Icons.WaveIcon,
|
pageIcon: this.Icons.WaveIcon,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user