From 07936060d1aa95933b392847e58a5b72f6406774 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 4 Feb 2022 21:04:50 +0100 Subject: [PATCH] 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. --- searx/templates/oscar/preferences.html | 2 +- searx/templates/simple/preferences.html | 2 +- tests/unit/test_webapp.py | 2 +- 3 files changed, 3 insertions(+), 3 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 @@

{{ _('Preferences') }}

-
+