From 53c71cf200ec2c20bcda668f2159ac9a7c3e0c1a Mon Sep 17 00:00:00 2001 From: John Hensley Date: Mon, 2 Dec 2019 11:09:30 -0500 Subject: [PATCH] Use the same 2FA instructions in journo/admin templates The journalist template says "verification code" instead of just "code" in "Once you have paired FreeOTP with this account, enter the 6-digit code below". This makes them consistent and reduces the translation work. --- securedrop/journalist_templates/admin_new_user_two_factor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securedrop/journalist_templates/admin_new_user_two_factor.html b/securedrop/journalist_templates/admin_new_user_two_factor.html index 8965d6a9cc..4bf665ddbe 100644 --- a/securedrop/journalist_templates/admin_new_user_two_factor.html +++ b/securedrop/journalist_templates/admin_new_user_two_factor.html @@ -15,7 +15,7 @@

{{ gettext('Enable FreeOTP') }}

{{ gettext("Can't scan the barcode? You can manually pair FreeOTP with this account by entering the following two-factor secret into the app:") }}

{{ user.formatted_otp_secret }}

-

{{ gettext('Once you have paired FreeOTP with this account, enter the 6-digit code below:') }}

+

{{ gettext('Once you have paired FreeOTP with this account, enter the 6-digit verification code below:') }}

{% else %}

{{ gettext('Enable YubiKey (OATH-HOTP)') }}

{{ gettext('Once you have configured your YubiKey, enter the 6-digit code below:') }}