Change credential boolean prefix

This commit is contained in:
Nick O'Leary
2014-07-20 20:42:41 +01:00
parent d67a54a66a
commit 4302deb5a6
3 changed files with 4 additions and 4 deletions

View File

@@ -221,7 +221,7 @@
return this.name?"node_label_italic":"";
},
oneditprepare: function() {
if (this.credentials.user || this.credentials.haspassword) {
if (this.credentials.user || this.credentials.has_password) {
$('#node-input-useAuth').prop('checked', true);
$(".node-input-useAuth-row").show();
} else {