summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-06-03 18:21:25 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-06-30 12:27:03 +0200
commit30b1256b6231610812b394e3363394690a297201 (patch)
tree04295334466b89a3fa97a09ef0f2af47c30cc79c /ipalib
parentd159662aded445418516c3ccb492bca33fbb11e5 (diff)
downloadfreeipa-30b1256b6231610812b394e3363394690a297201.tar.gz
freeipa-30b1256b6231610812b394e3363394690a297201.tar.xz
freeipa-30b1256b6231610812b394e3363394690a297201.zip
webui: add OTP token synchronization
New SyncOTPScreen widget and related facet. https://fedorahosted.org/freeipa/ticket/4218 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index f9ae831dc..fab01164a 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -651,11 +651,15 @@ class i18n_messages(Command):
"current_password": _("Current Password"),
"current_password_required": _("Current password is required"),
"expires_in": _("Your password expires in ${days} days."),
+ "first_otp": _("First OTP"),
"invalid_password": _("The password or username you entered is incorrect."),
"new_password": _("New Password"),
"new_password_required": _("New password is required"),
"otp": _("OTP"),
"otp_long": _("One-Time-Password"),
+ "otp_sync_fail": _("Token synchronization failed"),
+ "otp_sync_invalid": _("The username, password or token codes are not correct"),
+ "otp_sync_success":_("Token was synchronized"),
"password": _("Password"),
"password_and_otp": _("Password or Password+One-Time-Password"),
"password_change_complete": _("Password change complete"),
@@ -663,6 +667,8 @@ class i18n_messages(Command):
"reset_failure": _("Password reset was not successful."),
"reset_password": _("Reset Password"),
"reset_password_sentence": _("Reset your password."),
+ "second_otp": _("Second OTP"),
+ "token_id": _("Token ID"),
"verify_password": _("Verify Password"),
},
"search": {