mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
PM-187 - Allow autofill to work on web vault two step login page by rendering the password form in a hidden state and preventing the continue button from wiping out the autofilled password (#4844)
This commit is contained in:
@@ -238,7 +238,11 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
|
||||
|
||||
toggleValidateEmail(value: boolean) {
|
||||
this.validatedEmail = value;
|
||||
this.formGroup.controls.masterPassword.reset();
|
||||
if (!value) {
|
||||
// Reset master password only when going from validated to not validated (not you btn press)
|
||||
// so that autofill can work properly
|
||||
this.formGroup.controls.masterPassword.reset();
|
||||
}
|
||||
}
|
||||
|
||||
setFormValues() {
|
||||
|
||||
Reference in New Issue
Block a user