From b64ed7ad639f0ab27c752e2d6240718c10b597c6 Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Mon, 18 May 2020 05:07:06 -0700 Subject: [PATCH] key management page --- app/dashboard/__init__.py | 2 +- .../templates/dashboard/fido_cancel.html | 28 --------- .../templates/dashboard/fido_manage.html | 53 +++++++++++++++++ .../templates/dashboard/setting.html | 2 +- app/dashboard/views/fido_cancel.py | 45 -------------- app/dashboard/views/fido_manage.py | 59 +++++++++++++++++++ app/dashboard/views/fido_setup.py | 7 ++- 7 files changed, 119 insertions(+), 77 deletions(-) delete mode 100644 app/dashboard/templates/dashboard/fido_cancel.html create mode 100644 app/dashboard/templates/dashboard/fido_manage.html delete mode 100644 app/dashboard/views/fido_cancel.py create mode 100644 app/dashboard/views/fido_manage.py diff --git a/app/dashboard/__init__.py b/app/dashboard/__init__.py index 16ca9962..fc216406 100644 --- a/app/dashboard/__init__.py +++ b/app/dashboard/__init__.py @@ -13,7 +13,7 @@ from .views import ( mfa_setup, mfa_cancel, fido_setup, - fido_cancel, + fido_manage, domain_detail, lifetime_licence, directory, diff --git a/app/dashboard/templates/dashboard/fido_cancel.html b/app/dashboard/templates/dashboard/fido_cancel.html deleted file mode 100644 index 0df4c53d..00000000 --- a/app/dashboard/templates/dashboard/fido_cancel.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends 'default.html' %} -{% set active_page = "setting" %} -{% block title %} - Unlink Security Key -{% endblock %} - - -{% block default_content %} -
- Please enter the password of your account so that we can ensure it's you. -
- - - -