diff --git a/keepassxc-browser/content/fields.js b/keepassxc-browser/content/fields.js index 8a0f830..d51b6d7 100644 --- a/keepassxc-browser/content/fields.js +++ b/keepassxc-browser/content/fields.js @@ -64,6 +64,9 @@ kpxcFields.getAllCombinations = async function(inputs) { // Adds segmented TOTP fields to the combination if found kpxcFields.getSegmentedTOTPFields = function(inputs, combinations) { + if (!kpxc.settings.showOTPIcon) { + return; + } const addTotpFieldsToCombination = function(inputFields) { const totpInputs = Array.from(inputFields).filter(e => e.nodeName === 'INPUT' && e.type !== 'password'); if (totpInputs.length === 6) {