fix reset passwrod

The way we store the user object returned from user-find --whoami changed, and this code was not updated
This commit is contained in:
Adam Young 2010-12-23 14:12:33 -05:00
parent eb6f215246
commit 247e2a263b

View File

@ -194,7 +194,7 @@ function resetpwd_on_click(){
var user_pkey = $.bbq.getState('user-pkey');
var pw_pkey;
if (user_pkey === ipa_whoami_pkey){
if (user_pkey === IPA.whoami.uid[0]){
pw_pkey = [];
}else{
pw_pkey = [user_pkey];