From 3d4a1b5070e8ecd22a4ac3e92cb7c08d74901206 Mon Sep 17 00:00:00 2001 From: Sandeep Chauhan <sandeepsajan0@gmail.com> Date: Fri, 13 May 2022 08:57:09 +0530 Subject: [PATCH] Remove reset.html Change path to admin/disable.html. --- .../users/templates/two_factor/reset.html | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 hypha/apply/users/templates/two_factor/reset.html diff --git a/hypha/apply/users/templates/two_factor/reset.html b/hypha/apply/users/templates/two_factor/reset.html deleted file mode 100644 index a3fc26d46..000000000 --- a/hypha/apply/users/templates/two_factor/reset.html +++ /dev/null @@ -1,31 +0,0 @@ -<!-- It is a custom template built on the top of wagtail base, to confirm 2FA disable process with the user's Password --> -{% extends "wagtailadmin/base.html" %} -{% load i18n static wagtailadmin_tags %} - -{% block content %} - - {% trans "Disabling 2FA" as editing_str %} - {% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=user.get_username merged=1 tabbed=1 icon="user" %} - - <form class="form" action="" method="POST" novalidate> - <div class="tab-content"> - {% csrf_token %} - - <section id="account" class="active nice-padding"> - <p> Are you sure you want to disable the Two Factor Authentication for this user? Please type your password to confirm.</p> - - <ul class="fields"> - {% block fields %} - {% include "wagtailadmin/shared/field_as_li.html" with field=form.password %} - {% endblock %} - - <li> - <button class="button button--primary" type="submit">{% trans 'Disable 2FA' %}</button> - </li> - </ul> - </section> - </div> - </form> - - -{% endblock %} -- GitLab