Restore the USER_CREATE_KEY
This commit is contained in:
parent
750f7937b0
commit
a35148f7be
2 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,8 @@ REDIS_DB = import_secret("REDIS_DB")
|
|||
REDIS_HOST = import_secret("REDIS_HOST")
|
||||
REDIS_PORT = import_secret("REDIS_PORT")
|
||||
|
||||
CREATE_USER_KEY = import_secret("CREATE_USER_KEY")
|
||||
|
||||
|
||||
BASE_DIR = os.path.dirname(
|
||||
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
|
|
@ -11,3 +11,6 @@ REDIS_PASSWD = "{{REDIS_PASSWD}}"
|
|||
REDIS_PORT = 6379
|
||||
REDIS_DB = 0
|
||||
REDIS_HOST = "127.0.0.1"
|
||||
|
||||
# An other secret key used for user creation
|
||||
CREATE_USER_KEY = "lolilol"
|
||||
|
|
Loading…
Reference in a new issue