mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1989 from keepassxreboot/fix/show_totp_error_message
Fix showing TOTP error message
This commit is contained in:
commit
7cc81cf385
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ kpxcFill.fillFromTOTP = async function(target) {
|
|||
const el = target || document.activeElement;
|
||||
const credentialList = await kpxc.updateTOTPList();
|
||||
|
||||
if (credentialList?.length === 0) {
|
||||
if (!credentialList || credentialList?.length === 0) {
|
||||
kpxcUI.createNotification('warning', tr('credentialsNoTOTPFound'));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue