From e0be1fe498c46f31de9840d93b0a80ae6a3e4690 Mon Sep 17 00:00:00 2001 From: sandeepsajan0 <sandeepsajan0@gmail.com> Date: Wed, 25 May 2022 18:32:52 +0530 Subject: [PATCH] update setup text and setup link in account template --- hypha/apply/users/templates/two_factor/core/setup.html | 7 ++++--- hypha/apply/users/templates/users/account.html | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hypha/apply/users/templates/two_factor/core/setup.html b/hypha/apply/users/templates/two_factor/core/setup.html index b88c1716f..b33f5e2d8 100644 --- a/hypha/apply/users/templates/two_factor/core/setup.html +++ b/hypha/apply/users/templates/two_factor/core/setup.html @@ -2,11 +2,12 @@ {% load i18n %} {% block content %} - <h1>{% block title %}{% trans "Enable Two-Factor Authentication" %}{% endblock %}</h1> + <h1>{% block title %}{% trans "Two-Factor Authentication(2FA)" %}{% endblock %}</h1> {% if wizard.steps.current == 'welcome' %} <p>{% blocktrans trimmed %}You are about to take your account security to the - next level. Follow the steps in this wizard to enable two-factor - authentication.{% endblocktrans %}</p> + next level.{% endblocktrans %}</p> + <p>{% blocktrans trimmed %}To start using 2FA, you need to install an Authenticator app(eg. Google Authenticator app) on your smartphone.{% endblocktrans %}</p> + <p>{% blocktrans trimmed %}Install the app you choose then continue to Enable Two-Factor Authentication. {% endblocktrans %}</p> {% elif wizard.steps.current == 'method' %} <p>{% blocktrans trimmed %}Please select which authentication method you would like to use.{% endblocktrans %}</p> diff --git a/hypha/apply/users/templates/users/account.html b/hypha/apply/users/templates/users/account.html index 1f6ea97c9..22b3422ac 100644 --- a/hypha/apply/users/templates/users/account.html +++ b/hypha/apply/users/templates/users/account.html @@ -40,7 +40,7 @@ <p><a class="link link--button link--button--narrow" href="{% url 'two_factor:disable' %}">{% trans "Disable 2FA" %}</a></p> </div> {% else %} - <p><a class="link link--button link--button--narrow" href="{% url 'two_factor:setup' %}">{% trans "Enable 2FA" %}</a></p> + <p><a class="link link--button link--button--narrow" href="{% url 'users:two_factor_setup' %}">{% trans "Enable 2FA" %}</a></p> {% endif %} {% endif %} </div> -- GitLab