mirror of https://github.com/apache/cloudstack.git
Merge pull request #26 from shapeblue/oobm-ui-password-fix
APPLE-320: Bypass password validation for oobm
This commit is contained in:
commit
2b4cdd6580
|
|
@ -16286,6 +16286,7 @@
|
|||
action: function (args) {
|
||||
var data = args.data;
|
||||
data.hostid = args.context.hosts[0].id;
|
||||
data.password = $("<span>").html(data.password).text();
|
||||
|
||||
$.ajax({
|
||||
url: createURL('configureOutOfBandManagement'),
|
||||
|
|
|
|||
|
|
@ -361,6 +361,7 @@
|
|||
$.validator.addMethod(
|
||||
"disallowSpecialCharacters",
|
||||
function(value, element) {
|
||||
if (element.id == "label_outofbandmanagement_password") return true;
|
||||
return (value.indexOf("<") == -1 && value.indexOf(">") == -1);
|
||||
},
|
||||
jQuery.format('message.disallowed.characters')
|
||||
|
|
|
|||
Loading…
Reference in New Issue