summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/user.js')
-rw-r--r--install/ui/src/freeipa/user.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js
index 8b5ed3b03..52abc40a0 100644
--- a/install/ui/src/freeipa/user.js
+++ b/install/ui/src/freeipa/user.js
@@ -595,8 +595,7 @@ IPA.user_password_dialog = function(spec) {
that.close();
// refresh password expiration field
- var facet = IPA.current_entity.get_facet();
- facet.refresh();
+ that.facet.refresh();
if (that.is_self_service()) {
var command = IPA.get_whoami_command();
@@ -632,6 +631,7 @@ IPA.user.reset_password_action = function(spec) {
var dialog = IPA.user_password_dialog({
entity: facet.entity,
+ facet: facet,
pkey: facet.get_pkey()
});