diff --git a/hypha/apply/users/templates/users/login.html b/hypha/apply/users/templates/users/login.html index ed03a55bfecac560004f34e2961e5a869aa58cf2..13ca853a1ad2c200b87895f189f1438616f1fe9d 100644 --- a/hypha/apply/users/templates/users/login.html +++ b/hypha/apply/users/templates/users/login.html @@ -17,8 +17,7 @@ <p>{% blocktrans trimmed %}We sent you a text message, please enter the tokens we sent.{% endblocktrans %}</p> {% else %} - <p>{% blocktrans trimmed %}Please enter the tokens generated by your token - generator.{% endblocktrans %}</p> + <p>{% blocktrans trimmed %}Please enter the 6-digit verification code generated by your Authenticator App.{% endblocktrans %}</p> {% endif %} {% elif wizard.steps.current == 'backup' %} <p>{% blocktrans trimmed %}Use this form for entering backup tokens for logging in. @@ -44,6 +43,7 @@ {# hidden submit button to enable [enter] key #} <div style="margin-left: -9999px"><input type="submit" value=""/></div> + <script>document.querySelector("label[for=id_token-otp_token]").textContent = "{% trans 'Verification Code' %}: ";</script> {% if other_devices %} <p>{% trans "Or, alternatively, use one of your backup phones:" %}</p> @@ -56,10 +56,9 @@ {% endfor %}</p> {% endif %} {% if backup_tokens %} - <p>{% trans "As a last resort, you can use a backup token:" %}</p> - <p> + <p>{% trans "As a last resort, you can use a backup codes:" %} <button name="wizard_goto_step" type="submit" value="backup" - class="link link--button link--button-white link--button-white--narrow">{% trans "Use Backup Token" %}</button> + class="link link--button link--button-white link--button-white--narrow">{% trans "Use Backup Code" %}</button> </p> {% endif %}