diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-06-18 16:25:56 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-27 14:23:22 +0200 |
commit | 5568e357d103bafaf9e2f7f1ba1fd507c89e0538 (patch) | |
tree | dc6e81e8dccb7d1bb123a0440298630d5b21ee8d /install/ui/src/freeipa/ipa.js | |
parent | 9aac0524c9adb714aa63113fa6b8436e7636e8c2 (diff) | |
download | freeipa-5568e357d103bafaf9e2f7f1ba1fd507c89e0538.tar.gz freeipa-5568e357d103bafaf9e2f7f1ba1fd507c89e0538.tar.xz freeipa-5568e357d103bafaf9e2f7f1ba1fd507c89e0538.zip |
webui: extract rpc value from object envelope
adapt Web UI to a newer style of encapsulation object data
https://fedorahosted.org/freeipa/ticket/4394
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/ipa.js')
-rw-r--r-- | install/ui/src/freeipa/ipa.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/ipa.js b/install/ui/src/freeipa/ipa.js index be671d8f4..2dd5a8f2e 100644 --- a/install/ui/src/freeipa/ipa.js +++ b/install/ui/src/freeipa/ipa.js @@ -587,7 +587,7 @@ IPA.update_password_expiration = function() { var now, expires, notify_days, diff, message, container, notify; - expires = IPA.whoami.krbpasswordexpiration; + expires = rpc.extract_objects(IPA.whoami.krbpasswordexpiration); expires = expires ? datetime.parse(expires[0]) : null; notify_days = IPA.server_config.ipapwdexpadvnotify; |