CLOUDSTACK-819:Changing GET request to POST while creating account/user to hide the passwords in the access logs
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/fd8607d4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/fd8607d4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/fd8607d4 Branch: refs/heads/master Commit: fd8607d41e55b3d16c3c7b867c84193ea5d1569b Parents: 569ca6d Author: Sanjay Tripathi <[email protected]> Authored: Mon Jan 7 22:29:28 2013 +0530 Committer: Pranav Saxena <[email protected]> Committed: Mon Jan 7 22:29:28 2013 +0530 ---------------------------------------------------------------------- ui/scripts/accounts.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/fd8607d4/ui/scripts/accounts.js ---------------------------------------------------------------------- diff --git a/ui/scripts/accounts.js b/ui/scripts/accounts.js index de8149f..59e9d8b 100644 --- a/ui/scripts/accounts.js +++ b/ui/scripts/accounts.js @@ -229,6 +229,7 @@ $.ajax({ url: createURL('createAccount'), + type: "POST", data: data, success: function(json) { var item = json.createaccountresponse.account; @@ -920,6 +921,7 @@ $.ajax({ url: createURL('createUser'), + type: "POST", data: data, success: function(json) { var item = json.createuserresponse.user;
