From 234bb6425021b72f0db71667191b2c36dc593791 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 8 Mar 2023 10:04:29 +0000 Subject: port totp mfa from streams with some adjustions --- view/tpl/totp.tpl | 26 ++++++++++ view/tpl/totp_setup.tpl | 130 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+) create mode 100644 view/tpl/totp.tpl create mode 100644 view/tpl/totp_setup.tpl (limited to 'view') diff --git a/view/tpl/totp.tpl b/view/tpl/totp.tpl new file mode 100644 index 000000000..0367483eb --- /dev/null +++ b/view/tpl/totp.tpl @@ -0,0 +1,26 @@ + + + + + + + + + +
+
{{$id}}
+
+ +
+ + +
+ +
+
+ + diff --git a/view/tpl/totp_setup.tpl b/view/tpl/totp_setup.tpl new file mode 100644 index 000000000..6bf5885f7 --- /dev/null +++ b/view/tpl/totp_setup.tpl @@ -0,0 +1,130 @@ +
+
+

{{$title}}

+
+ +
+ + {{if $secret}} +
+
{{$secret_text}}
+
+
{{$secret}}
+
+ {{/if}} + + {{$uri}} + +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ + +
+ + {{include file="field_checkbox.tpl" field=$enable_mfa}} +
+ +
+ +
+ + +
+ +
+ + + + -- cgit v1.2.3