From 247e2a263b3fedfa8b3e2ef3e006c64083677c91 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 23 Dec 2010 14:12:33 -0500 Subject: fix reset passwrod The way we store the user object returned from user-find --whoami changed, and this code was not updated --- install/static/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/static/user.js') 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]; -- cgit