cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/4.3 to 48f595b
Date Thu, 13 Nov 2014 11:56:31 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.3 88d222aba -> 48f595bea


CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password
contains # character.

(cherry picked from commit 9f4d4646408d12d4ce7a55aa89d6e8a6914b108e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/48f595be
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/48f595be
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/48f595be

Branch: refs/heads/4.3
Commit: 48f595beac0928e0ca96875600cebd7b68b80a48
Parents: 88d222a
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu May 29 12:58:47 2014 -0700
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Nov 13 17:26:14 2014 +0530

----------------------------------------------------------------------
 ui/scripts/accountsWizard.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/48f595be/ui/scripts/accountsWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/accountsWizard.js b/ui/scripts/accountsWizard.js
index d84fbfa..6e35a87 100644
--- a/ui/scripts/accountsWizard.js
+++ b/ui/scripts/accountsWizard.js
@@ -191,6 +191,8 @@
                 password = args.data.password;
                 if (md5Hashed) {
                     password = $.md5(password);
+                } else {
+                	password = todb(password);
                 }
                 array1.push("&password=" + password);
             }
@@ -225,6 +227,7 @@
                     $.ajax({
                         url: createURL('importLdapUsers' + array1.join("")),
                         dataType: "json",
+                        type: "POST",
                         async: false,
                         success: function(json) {
                             var count = json.ldapuserresponse.count;
@@ -240,6 +243,7 @@
                     $.ajax({
                         url: createURL('ldapCreateAccount' + array1.join("")),
                         dataType: "json",
+                        type: "POST",
                         async: false,
                         success: function(json) {
                             var item = json.createaccountresponse.account;
@@ -256,6 +260,7 @@
                 $.ajax({
                     url: createURL('createAccount' + array1.join("")),
                     dataType: "json",
+                    type: "POST",
                     async: false,
                     success: function(json) {
                         var item = json.createaccountresponse.account;


Mime
View raw message