1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Prefill email field when "create account" is clicked.

This commit is contained in:
Alec Rippberger
2024-09-24 16:35:43 -05:00
parent 9bb84094ae
commit d9f930d7cb
3 changed files with 15 additions and 0 deletions

View File

@@ -383,6 +383,7 @@ export class LoginComponent implements OnInit, OnDestroy {
onEmailBlur(event: Event) {
const emailInput = event.target as HTMLInputElement;
this.formGroup.controls.email.setValue(emailInput.value);
this.loginEmailService.setLoginEmail(this.formGroup.value.email);
}
protected async goToHint(): Promise<void> {