mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-16 02:46:44 +02:00
make session IDs 128bits
This commit is contained in:
parent
22af5b8432
commit
d459c37432
@ -135,6 +135,7 @@ class ConfigManager(dict):
|
||||
self.config['QUOTA_STORAGE_URL'] = 'redis://{0}/1'.format(self.config['REDIS_ADDRESS'])
|
||||
self.config['SESSION_COOKIE_SAMESITE'] = 'Strict'
|
||||
self.config['SESSION_COOKIE_HTTPONLY'] = True
|
||||
self.config['SESSION_KEY_BITS'] = 128
|
||||
# update the app config itself
|
||||
app.config = self
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user