mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
[PM-25172] Do not null coalesce a login's autofillOnPageLoad setting to false. Undefined is a valid option that defaults to the extension autofill on page load setting (#16596)
This commit is contained in:
@@ -183,7 +183,7 @@ export class Login extends Domain {
|
||||
? new Date(obj.passwordRevisionDate)
|
||||
: undefined;
|
||||
login.totp = EncString.fromJSON(obj.totp);
|
||||
login.autofillOnPageLoad = obj.autofillOnPageLoad ?? false;
|
||||
login.autofillOnPageLoad = obj.autofillOnPageLoad;
|
||||
login.fido2Credentials = obj.fido2Credentials?.map((f) =>
|
||||
Fido2Credential.fromSdkFido2Credential(f),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user