One liner pushed to master

[ayo...@ayoung static]$ git show HEAD
commit 247e2a263b3fedfa8b3e2ef3e006c64083677c91
Author: Adam Young <ayo...@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];

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to