summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-07-28 10:27:36 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-09-11 17:55:17 +0200
commit325bbf5bbf39da43e590b2dee2044683aaec3a66 (patch)
tree7cd8d52d0a1345204c5bf7f98d2972866676163b /ipalib
parent475f6e293e3341f72f56bd9b75e6dc6231a10a59 (diff)
downloadfreeipa-325bbf5bbf39da43e590b2dee2044683aaec3a66.tar.gz
freeipa-325bbf5bbf39da43e590b2dee2044683aaec3a66.tar.xz
freeipa-325bbf5bbf39da43e590b2dee2044683aaec3a66.zip
webui: add token from user page
Add 'Add OTP Token' action to user action menu. This option is disabled in self-service when viewing other users. https://fedorahosted.org/freeipa/ticket/4402 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 6f110f10c..e4ebac066 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -520,6 +520,7 @@ class i18n_messages(Command):
"users": _("Users"),
},
"otptoken": {
+ "add_token": _("Add OTP Token"),
"details": _("OTP Token Settings"),
"disable": _("Disable token"),
"enable": _("Enable token"),