summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-10 16:04:13 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-28 11:55:58 +0100
commitc621da4fd682990af1520e0313dd763c621b041f (patch)
treed4083b957f4f5102f31780edf521e0d67512f9f7 /settings/templates
parent4af583e23f922824e8e9ad2bf6347e6a1f163d8f (diff)
downloadnextcloud-server-c621da4fd682990af1520e0313dd763c621b041f.tar.gz
nextcloud-server-c621da4fd682990af1520e0313dd763c621b041f.zip
Do not load 2fa admin settings async
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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>