aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-11 20:24:56 +0000
committerMario <mario@mariovavti.com>2023-03-11 20:24:56 +0000
commitac9c33fb3b31f4a3801fbdf7c723b923d699964d (patch)
treeedc1f7bad40238e4150709bc5cd6f58cdc012443 /view/tpl
parent641b1c2e1b5be0d5b7b94ea6566238baa830ebe4 (diff)
downloadvolse-hubzilla-ac9c33fb3b31f4a3801fbdf7c723b923d699964d.tar.gz
volse-hubzilla-ac9c33fb3b31f4a3801fbdf7c723b923d699964d.tar.bz2
volse-hubzilla-ac9c33fb3b31f4a3801fbdf7c723b923d699964d.zip
check form security token and require password to enable/diable mfa
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/totp_setup.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/totp_setup.tpl b/view/tpl/totp_setup.tpl
index 2ee79fae9..1301d0001 100644
--- a/view/tpl/totp_setup.tpl
+++ b/view/tpl/totp_setup.tpl
@@ -28,6 +28,7 @@
<div id="mfa-submit-wrapper" class="{{if !$enable_mfa.2}}d-none{{/if}}">
<form action="settings/multifactor" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+ {{include file="field_password.tpl" field=$password}}
{{include file="field_checkbox.tpl" field=$enable_mfa}}
<div class="settings-submit-wrapper" >
<button id="otp-enable-submit" type="b" name="submit" class="btn btn-primary">