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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/static/user.js b/install/static/user.js
index 926cdf00..3ac828fe 100644
--- a/install/static/user.js
+++ b/install/static/user.js
@@ -90,12 +90,12 @@ function toggle_on_click(obj)
if (val == 'Active') {
ipa_cmd(
'lock', [qs['pkey']], {}, on_lock_win, on_fail,
- ipa_objs['user']['name']
+ IPA.metadata['user']['name']
);
} else {
ipa_cmd(
'unlock', [qs['pkey']], {}, on_lock_win, on_fail,
- ipa_objs['user']['name']
+ IPA.metadata['user']['name']
);
}
return (false);