mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
searx: Enable single sign on
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
3b6f4d0df3
commit
d42492d4df
2 files changed
+10
No files matched your search
@@ -25,6 +25,7 @@ from django.utils.translation import ugettext_lazy as _
|
||||
from plinth import service as service_module
|
||||
from plinth import action_utils, actions, frontpage
|
||||
from plinth.menu import main_menu
|
||||
from plinth.modules.users import register_group
|
||||
|
||||
from .manifest import clients
|
||||
|
||||
@@ -49,6 +50,8 @@ description = [
|
||||
'It stores no cookies by default.')
|
||||
]
|
||||
|
||||
group = ('web-search', _('Search the web'))
|
||||
|
||||
service = None
|
||||
|
||||
|
||||
@@ -57,6 +60,7 @@ def init():
|
||||
menu = main_menu.get('apps')
|
||||
menu.add_urlname(name, 'glyphicon-search', 'searx:index',
|
||||
short_description)
|
||||
register_group(group)
|
||||
|
||||
global service
|
||||
setup_helper = globals()['setup_helper']
|
||||
|
||||
Reference in new issue
Block a user