use app.secret_key to enable session
This commit is contained in:
parent
6614f74c9f
commit
021f3bcb7c
|
@ -16,6 +16,10 @@ client_id = get_env_variable('CLIENT_ID')
|
|||
redirect_uri = get_env_variable('REDIRECT_URI')
|
||||
optional_scopes = get_env_variable('OPTIONAL_SCOPES')
|
||||
database_url = get_env_variable('DATABASE_URL')
|
||||
secret_key = get_env_variable('APP_SECRET_KEY')
|
||||
|
||||
# Set secret key to enable sessions
|
||||
app.secret_key = secret_key
|
||||
|
||||
csrf_protection_string = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user