diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-10 16:04:13 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-28 11:55:58 +0100 |
commit | c621da4fd682990af1520e0313dd763c621b041f (patch) | |
tree | d4083b957f4f5102f31780edf521e0d67512f9f7 /settings/templates | |
parent | 4af583e23f922824e8e9ad2bf6347e6a1f163d8f (diff) | |
download | nextcloud-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.php | 1 |
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> |