Merge pull request #2181 from Flamefire/patch-1

Remove duplicate notification
This commit is contained in:
Sami Vänttinen 2024-05-27 19:06:43 +03:00 committed by GitHub
commit ab12ac8a7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -348,10 +348,5 @@ const passwordFillIsAllowed = function(elem) {
return true;
}
if (elem?.getLowerCaseAttribute('type') !== 'password') {
kpxcUI.createNotification('warning', tr('fieldsPasswordFillNotAccepted'));
return false;
}
return true;
return elem?.getLowerCaseAttribute('type') === 'password';
};