mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 01:09:21 +02:00
Let admins lock user preferences
This commit is contained in:
parent
6beb84efb8
commit
33e139cae6
11 changed files with 151 additions and 5 deletions
|
@ -141,4 +141,4 @@ class TestPreferences(SearxTestCase):
|
|||
pref.parse_encoded_data(url_params)
|
||||
self.assertEqual(
|
||||
vars(pref.key_value_settings['categories']),
|
||||
{'value': ['general'], 'choices': ['general', 'none']})
|
||||
{'value': ['general'], 'locked': False, 'choices': ['general', 'none']})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue