summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/plugins
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-06-04 16:23:46 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-06-30 12:27:04 +0200
commit72a107c9d73d1576f3adf7928deef4b5e5f35a83 (patch)
tree56f010c9dd1e8d03251a1200f6a7c6b55256ca7e /install/ui/src/freeipa/plugins
parent30b1256b6231610812b394e3363394690a297201 (diff)
downloadfreeipa-72a107c9d73d1576f3adf7928deef4b5e5f35a83.tar.gz
freeipa-72a107c9d73d1576f3adf7928deef4b5e5f35a83.tar.xz
freeipa-72a107c9d73d1576f3adf7928deef4b5e5f35a83.zip
webui: add link pointing to OTP sync page to login
https://fedorahosted.org/freeipa/ticket/4218 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/plugins')
-rw-r--r--install/ui/src/freeipa/plugins/login.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/plugins/login.js b/install/ui/src/freeipa/plugins/login.js
index cf9e5bea8..c555ed2d9 100644
--- a/install/ui/src/freeipa/plugins/login.js
+++ b/install/ui/src/freeipa/plugins/login.js
@@ -75,6 +75,10 @@ define(['dojo/_base/declare',
on(this, 'show', function(args) {
login_screen.refresh();
});
+
+ on(login_screen, 'require-otp-sync', function(args) {
+ self.emit('require-otp-sync', args);
+ });
}
});