summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-02-04 21:04:50 +0100
committerMartin Fischer <martin@push-f.com>2022-02-04 21:11:29 +0100
commit07936060d1aa95933b392847e58a5b72f6406774 (patch)
tree0a226dd6945899c4ffeb491ff920d2103458e00a /searx/templates/oscar/preferences.html
parentae804ddf4016b140cc4ca879388594370334ffca (diff)
preferences: Set autocomplete=off for form
Otherwise you can change the value of a select, refresh the page and the preferences stay changed, leaving the wrong impression that they were saved.
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index f731a8fc1..71ee57a62 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -94,7 +94,7 @@
<div>
<h1>{{ _('Preferences') }}</h1>
- <form method="post" action="{{ url_for('preferences') }}" id="search_form">
+ <form method="post" action="{{ url_for('preferences') }}" id="search_form" autocomplete="off">
<!-- Nav tabs -->
<ul class="nav nav-tabs nav-justified hide_if_nojs" role="tablist">