fix: [Flask cookie name]

pull/49/head
Terrtia 2020-04-06 15:33:29 +02:00
parent 82b2944119
commit f17f80b21c
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ app = Flask(__name__, static_url_path=baseUrl+'/static/')
app.config['MAX_CONTENT_LENGTH'] = 900 * 1024 * 1024 app.config['MAX_CONTENT_LENGTH'] = 900 * 1024 * 1024
# ========= Cookie name ======== # ========= Cookie name ========
app.config.update(SESSION_COOKIE_NAME='d4_project_server{}'.format(FLASK_PORT)) app.config.update(SESSION_COOKIE_NAME='d4_project_server{}'.format(uuid.uuid4().int))
# ========= session ======== # ========= session ========
app.secret_key = str(random.getrandbits(256)) app.secret_key = str(random.getrandbits(256))