Allow filling TOTP without a combination

This commit is contained in:
varjolintu 2022-09-17 19:32:45 +03:00
parent f6cc6d3422
commit dd4334971c

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;
}