avoid password autocompltee

This commit is contained in:
j 2019-07-22 11:11:25 +02:00
parent f838a6be60
commit 33b105b9b8

View file

@ -47,6 +47,9 @@ pandora.ui.preferencesDialog = function() {
validate: pandora.validateNewPassword, validate: pandora.validateNewPassword,
width: 320 width: 320
}) })
.attr({
autocomplete: 'new-password'
})
.bindEvent({ .bindEvent({
validate: function(data) { validate: function(data) {
data.valid && pandora.api.editPreferences({password: data.value}); data.valid && pandora.api.editPreferences({password: data.value});