summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-12-23 14:12:33 -0500
committerAdam Young <ayoung@redhat.com>2010-12-23 14:12:33 -0500
commit247e2a263b3fedfa8b3e2ef3e006c64083677c91 (patch)
tree421a1b99f6c7fe017106a36d577ebc8da244bc3f
parenteb6f21524653a674dd16c34c9a4df9d7a351d9f8 (diff)
downloadfreeipa-247e2a263b3fedfa8b3e2ef3e006c64083677c91.tar.gz
freeipa-247e2a263b3fedfa8b3e2ef3e006c64083677c91.tar.xz
freeipa-247e2a263b3fedfa8b3e2ef3e006c64083677c91.zip
fix reset passwrod
The way we store the user object returned from user-find --whoami changed, and this code was not updated
-rw-r--r--install/static/user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/user.js b/install/static/user.js
index cb4c005a..1a2ab444 100644
--- a/install/static/user.js
+++ b/install/static/user.js
@@ -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];