Commit d16a34ba authored by Gero Müller's avatar Gero Müller
Browse files

fix cookie path

parent 3881e594
......@@ -22,6 +22,7 @@ import vispa.url
from vispa.models.shortcuts import *
import vispa.models.alembic
from urlparse import urlparse
logger = logging.getLogger(__name__)
......@@ -135,6 +136,7 @@ class Server(object):
'tools.user.redirect_url': vispa.url.dynamic('/login'),
'tools.workspace.on': False,
'tools.sessions.on': True,
'tools.sessions.path': urlparse(base_dynamic).path,
'tools.sessions.storage_type': 'file',
'tools.sessions.storage_path': vispa.datapath('sessions'),
'tools.sessions.timeout': 1440,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment