diff options
author | Martin Fischer <martin@push-f.com> | 2022-02-04 21:04:50 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-04 21:11:29 +0100 |
commit | 07936060d1aa95933b392847e58a5b72f6406774 (patch) | |
tree | 0a226dd6945899c4ffeb491ff920d2103458e00a /searx/templates/simple/preferences.html | |
parent | ae804ddf4016b140cc4ca879388594370334ffca (diff) | |
download | searxng-07936060d1aa95933b392847e58a5b72f6406774.tar.gz searxng-07936060d1aa95933b392847e58a5b72f6406774.zip |
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/simple/preferences.html')
-rw-r--r-- | searx/templates/simple/preferences.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index b674d5d02..b47cbc774 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -98,7 +98,7 @@ {% block content %} <h1>{{ _('Preferences') }}</h1> -<form id="search_form" method="post" action="{{ url_for('preferences') }}"> +<form id="search_form" method="post" action="{{ url_for('preferences') }}" autocomplete="off"> {{ tabs_open() }} |