mirror of
https://github.com/bitwarden/browser.git
synced 2025-04-01 17:57:27 +02:00
Add comment to explain call to setLoginEmail.
This commit is contained in:
parent
bdc988cc12
commit
f8f8bb5386
@ -357,6 +357,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
onEmailBlur(event: Event) {
|
||||
const emailInput = event.target as HTMLInputElement;
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user