summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-03-30 10:19:39 +0200
committerPetr Vobornik <pvoborni@redhat.com>2016-06-02 18:38:32 +0200
commit3b37e29ac6e918027b06e574c2c793f6c521100c (patch)
tree5bfece037cea29c7a33e00b60d61a809c6dbc13d /ipalib
parentf077fab23fe9dc8a71562d1ba3c0d603d2957d3b (diff)
downloadfreeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.tar.gz
freeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.tar.xz
freeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.zip
Add option to show OTP when adding host
Add option to add host dialog which allows to show generated OTP. This patch also changed the way of informing user about success of adding host but only when the 'Generate OTP' option is checked. There is a new dialog with generated OTP. https://fedorahosted.org/freeipa/ticket/4602 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index c28693a46..175063ba1 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -262,6 +262,7 @@ class i18n_messages(Command):
"redirection": _("Redirection"),
"remove_empty": _("Select entries to be removed."),
"remove_title": _("Remove ${entity}"),
+ "result": _("Result"),
"show_details": _("Show details"),
"success": _("Success"),
"validation_title": _("Validation error"),
@@ -527,6 +528,8 @@ class i18n_messages(Command):
"enrolled": _("Enrolled"),
"enrollment": _("Enrollment"),
"fqdn": _("Fully Qualified Host Name"),
+ "generate_otp": _("Generate OTP"),
+ "generated_otp": _("Generated OTP"),
"keytab": _("Kerberos Key"),
"keytab_missing": _("Kerberos Key Not Present"),
"keytab_present": _("Kerberos Key Present, Host Provisioned"),