From aad5575cd20553751642fa924778150b94755a98 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 19 Dec 2024 21:21:22 +0100 Subject: [PATCH] Fix MFA auth flow (#8720) * Re-add html account base Fixes #8690 * fix base template --- src/backend/InvenTree/templates/403_csrf.html | 2 +- .../InvenTree/templates/account/base.html | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/backend/InvenTree/templates/account/base.html diff --git a/src/backend/InvenTree/templates/403_csrf.html b/src/backend/InvenTree/templates/403_csrf.html index e9441cb6133e..e66345fb56f0 100644 --- a/src/backend/InvenTree/templates/403_csrf.html +++ b/src/backend/InvenTree/templates/403_csrf.html @@ -1,4 +1,4 @@ -{% extends "account/base.html" %} +{% extends "skeleton.html" %} {% load i18n %} {% load inventree_extras %} diff --git a/src/backend/InvenTree/templates/account/base.html b/src/backend/InvenTree/templates/account/base.html new file mode 100644 index 000000000000..0e298e8cc0bc --- /dev/null +++ b/src/backend/InvenTree/templates/account/base.html @@ -0,0 +1,37 @@ +{% extends "skeleton.html" %} +{% load i18n %} +{% load inventree_extras %} + +{% block body %} + +
+
+ +
+
+ +
+ + + + {% block extra_body %} + {% endblock extra_body %} +
+{% endblock body %}