mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Remove the double check for fallback
This commit is contained in:
parent
40c56d913d
commit
9e5a936e2a
1 changed files with 4 additions and 2 deletions
|
|
@ -203,8 +203,9 @@
|
|||
if (!response.publicKey) {
|
||||
if (!response.fallback) {
|
||||
throwError(response?.errorCode, response?.errorMessage);
|
||||
return null;
|
||||
}
|
||||
return response.fallback ? originalCredentials.create(options) : null;
|
||||
return originalCredentials.create(options);
|
||||
}
|
||||
|
||||
return createPublicKeyCredential(response.publicKey);
|
||||
|
|
@ -228,8 +229,9 @@
|
|||
if (!response.publicKey) {
|
||||
if (!response.fallback) {
|
||||
throwError(response?.errorCode, response?.errorMessage);
|
||||
return null;
|
||||
}
|
||||
return response.fallback ? originalCredentials.get(options) : null;
|
||||
return originalCredentials.get(options);
|
||||
}
|
||||
|
||||
return createPublicKeyCredential(response.publicKey);
|
||||
|
|
|
|||
Loading…
Reference in a new issue