summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/settings/admin/security.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/templates/settings/admin/security.php b/settings/templates/settings/admin/security.php
index 7d528818e42..751616fc176 100644
--- a/settings/templates/settings/admin/security.php
+++ b/settings/templates/settings/admin/security.php
@@ -30,6 +30,7 @@ script('settings', 'vue-settings-admin-security');
<div id="two-factor-auth" class="section">
<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
+ <input type="hidden" id="two-factor-auth-settings-initial-state" value="<?php p(base64_encode(json_encode($_['mandatory2FAState']))); ?>">
<div id="two-factor-auth-settings"></div>
</div>