Merge pull request #890 from keepassxreboot/fix/check_totp_input_field_visibility

Check input field visibility for TOTP icons
This commit is contained in:
Sami Vänttinen 2020-06-08 16:17:07 +03:00 committed by GitHub
commit debf7db5f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1068,6 +1068,10 @@ kpxc.initPasswordGenerator = function(inputs) {
kpxc.initOTPFields = function(inputs) {
for (const i of inputs) {
if (!kpxcFields.isVisible(i)) {
continue;
}
const id = i.getLowerCaseAttribute('id');
const name = i.getLowerCaseAttribute('name');
const autocomplete = i.getLowerCaseAttribute('autocomplete');