summaryrefslogtreecommitdiffstats
path: root/install/static/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/user.js')
-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];