mirror of
https://github.com/Findus23/se-simulator.git
synced 2024-09-10 05:23:47 +02:00
parent
de90a78874
commit
4eca4fe9f8
2 changed files with 8 additions and 3 deletions
|
@ -5,7 +5,12 @@ db = {
|
|||
"passwd": "password",
|
||||
}
|
||||
|
||||
# check http://flask.pocoo.org/docs/0.12/quickstart/#sessions on how to create
|
||||
secret_key =
|
||||
# Check http://flask.pocoo.org/docs/0.12/quickstart/#sessions on how to create
|
||||
secret_key =
|
||||
|
||||
# See https://pythonhosted.org/Flask-Session/
|
||||
session_type = "filesystem"
|
||||
|
||||
make_cacheable = False
|
||||
|
||||
production = False
|
||||
|
|
|
@ -23,7 +23,7 @@ from models import *
|
|||
app.jinja_env.globals.update(prettydate=utils.prettydate)
|
||||
app.jinja_env.globals.update(is_light_color=utils.is_light_color)
|
||||
|
||||
SESSION_TYPE = 'redis'
|
||||
SESSION_TYPE = config.session_type
|
||||
SESSION_COOKIE_SECURE = config.production
|
||||
SESSION_USE_SIGNER = True
|
||||
SESSION_KEY_PREFIX = "StackDataSessions:"
|
||||
|
|
Loading…
Reference in a new issue