Updated Branches: refs/heads/master eb0caf10a -> 5ccca4006
cloudstack 3.0 UI - account page - create account action - encrypt password even md5-hashed is off before passing it to API call. Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/5ccca400 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/5ccca400 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/5ccca400 Branch: refs/heads/master Commit: 5ccca400674691896f24254db7957e1c0daa95d9 Parents: eb0caf1 Author: Jessica Wang <[email protected]> Authored: Thu Aug 30 14:08:56 2012 -0700 Committer: Jessica Wang <[email protected]> Committed: Thu Aug 30 14:46:22 2012 -0700 ---------------------------------------------------------------------- ui/scripts/accounts.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5ccca400/ui/scripts/accounts.js ---------------------------------------------------------------------- diff --git a/ui/scripts/accounts.js b/ui/scripts/accounts.js index 9762313..34a9538 100644 --- a/ui/scripts/accounts.js +++ b/ui/scripts/accounts.js @@ -181,6 +181,8 @@ var password = args.data.password; if (md5Hashed) password = $.md5(password); + else + password = todb(password); array1.push("&password=" + password); array1.push("&email=" + todb(args.data.email));
