[Freeipa-devel] [PATCH] fix reset password
Adam Young
ayoung at redhat.com
Thu Dec 23 19:15:58 UTC 2010
One liner pushed to master
[ayoung at ayoung static]$ git show HEAD
commit 247e2a263b3fedfa8b3e2ef3e006c64083677c91
Author: Adam Young <ayoung at redhat.com>
Date: Thu Dec 23 14:12:33 2010 -0500
fix reset passwrod
The way we store the user object returned from user-find --whoami
changed, and this code
diff --git a/install/static/user.js b/install/static/user.js
index cb4c005..1a2ab44 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];
More information about the Freeipa-devel
mailing list