mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
Add comment to explain call to setLoginEmail.
This commit is contained in:
@@ -357,6 +357,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|||||||
onEmailBlur(event: Event) {
|
onEmailBlur(event: Event) {
|
||||||
const emailInput = event.target as HTMLInputElement;
|
const emailInput = event.target as HTMLInputElement;
|
||||||
this.formGroup.controls.email.setValue(emailInput.value);
|
this.formGroup.controls.email.setValue(emailInput.value);
|
||||||
|
// Call setLoginEmail so that the email is pre-populated when navigating to the "enter password" screen.
|
||||||
this.loginEmailService.setLoginEmail(this.formGroup.value.email);
|
this.loginEmailService.setLoginEmail(this.formGroup.value.email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user