1
0
Fork 0
forked from bton/matekasse

Session key

This commit is contained in:
2000-Trek 2023-06-09 22:50:59 +02:00
parent 1578fe14d2
commit f3b00a84c8

View file

@ -14,7 +14,7 @@ c = conn.cursor()
app = Flask(__name__) app = Flask(__name__)
key = str(uuid.uuid4().hex) key = str(uuid.uuid4().hex)
SESSION_TYPE = 'redis' app.config['SESSION_TYPE'] = 'redis'
print(key) print(key)
app.secret_key = key app.secret_key = key
Session(app) Session(app)