From f3b00a84c86059fe8bde476ae36e88e6a588c4b8 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 9 Jun 2023 22:50:59 +0200 Subject: [PATCH] Session key --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a312188..ef16a90 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ c = conn.cursor() app = Flask(__name__) key = str(uuid.uuid4().hex) -SESSION_TYPE = 'redis' +app.config['SESSION_TYPE'] = 'redis' print(key) app.secret_key = key Session(app)