Skip to content

Commit

Permalink
adopt config for CSFR
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterXY89 committed Jan 6, 2024
1 parent 25dfa28 commit 06790df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chat_doc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def load_config():
# ...
},
"flask_app": {
"secret": decouple_config("FLASK_APP_SECRET"),
"flask_secret": decouple_config("SECRET_KEY"),
"csfr_secret": decouple_config("WTF_CSRF_SECRET_KEY"),
"app_name": decouple_config("FLASK_APP_NAME"),
"db_name": decouple_config("FLASK_APP_DB_NAME"),
},
Expand Down

0 comments on commit 06790df

Please sign in to comment.