Merge pull request #1726 from keepassxreboot/fix/allow_filling_totp_without_a_combination

Allow filling TOTP without a combination
This commit is contained in:
Sami Vänttinen 2022-09-18 16:28:32 +03:00 committed by GitHub
commit a93ac4b3ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,7 @@ kpxcFill.fillTOTPFromUuid = async function(el, uuid) {
// Set normal or segmented TOTP value
kpxcFill.setTOTPValue = function(elem, val) {
if (kpxc.combinations.length === 0) {
if (kpxc.credentials.length === 0) {
logDebug('Error: Credential list is empty.');
return;
}