cloudstack 3.0 UI - account page - create account action - encrypt password even md5-hashed is off before passing it to API call.

This commit is contained in:
Jessica Wang 2012-08-30 14:08:56 -07:00
parent eb0caf10a2
commit 5ccca40067
1 changed files with 2 additions and 0 deletions

View File

@ -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));