mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character.
This commit is contained in:
parent
e656fd67a0
commit
9f4d464640
@ -182,6 +182,8 @@
|
||||
password = args.data.password;
|
||||
if (md5Hashed) {
|
||||
password = $.md5(password);
|
||||
} else {
|
||||
password = todb(password);
|
||||
}
|
||||
array1.push("&password=" + password);
|
||||
}
|
||||
@ -218,6 +220,7 @@
|
||||
$.ajax({
|
||||
url: createURL('importLdapUsers' + array1.join("")),
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var count = json.ldapuserresponse.count;
|
||||
@ -233,6 +236,7 @@
|
||||
$.ajax({
|
||||
url: createURL('ldapCreateAccount' + array1.join("")),
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var item = json.createaccountresponse.account;
|
||||
@ -249,6 +253,7 @@
|
||||
$.ajax({
|
||||
url: createURL('createAccount' + array1.join("")),
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var item = json.createaccountresponse.account;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user