Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
75c22525
Commit
75c22525
authored
Mar 06, 2019
by
Pablo Panero
Browse files
config: add server name to issue proper cookies
parent
4ff48d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/config.py
View file @
75c22525
...
...
@@ -25,7 +25,6 @@ def _(x):
"""Identity function used to trigger string extraction."""
return
x
# Theme
# =====
THEME_SEARCHBAR
=
False
...
...
@@ -50,6 +49,7 @@ OAUTHCLIENT_REMOTE_APPS = dict(
# FIXME: Needs to be disable for role base auth in SSO. If not invenio_account/sessions:login_listener will crash
ACCOUNTS_SESSION_ACTIVITY_ENABLED
=
False
SERVER_NAME
=
os
.
getenv
(
"CERN_SEARCH_SERVER_NAME"
)
# Admin
# =====
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment