aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/privacy.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/configure/privacy.phtml')
-rw-r--r--app/views/configure/privacy.phtml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/configure/privacy.phtml b/app/views/configure/privacy.phtml
index 6daf8a62b..b9bae1540 100644
--- a/app/views/configure/privacy.phtml
+++ b/app/views/configure/privacy.phtml
@@ -6,15 +6,14 @@
<main class="post">
<h1><?= _t('conf.privacy') ?></h1>
- <form method="post" action="<?= _url('configure', 'privacy') ?>">
+ <form method="post" action="<?= _url('configure', 'privacy') ?>" data-auto-leave-validation="1">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group">
<label class="group-name" for="retrieve_extension_list"><?= _t('conf.privacy.retrieve_extension_list') ?></label>
<div class="group-controls">
<input type="checkbox" id="retrieve_extension_list" name="retrieve_extension_list" value="1"<?=
- FreshRSS_Context::userConf()->retrieve_extension_list !== false ? ' checked="checked"' : '' ?>
- data-leave-validation="<?= FreshRSS_Context::userConf()->retrieve_extension_list !== false ? 1 : 0 ?>"/>
+ FreshRSS_Context::userConf()->retrieve_extension_list !== false ? ' checked="checked"' : '' ?> />
</div>
</div>