diff --git a/ereuse_devicehub/config.py b/ereuse_devicehub/config.py index 01a98292..e1e5cf12 100644 --- a/ereuse_devicehub/config.py +++ b/ereuse_devicehub/config.py @@ -1,3 +1,4 @@ +import os from distutils.version import StrictVersion from itertools import chain from typing import Set @@ -77,3 +78,4 @@ class DevicehubConfig(Config): """Definition of path where save the documents of customers""" PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/') JWT_PASS = config('JWT_PASS', '') + SECRET_KEY = os.urandom(32)