Skip to content

Commit

Permalink
Replace hard-coded cookie secret with generator function
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed May 21, 2024
1 parent a710b7f commit f5e855d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_diana_utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def configure_klat_chat(external_url: str = None,
"COOKIES": {
"LIFETIME": 3600,
"REFRESH_RATE": 300,
"SECRET": "775115fdecb9b4971193b919d27d410a",
"SECRET": secrets.token_hex(16),
"JWT_ALGO": "HS256"},
"LIBRE_TRANSLATE_URL": libretranslate_url,
"SFTP": sftp_config,
Expand Down

0 comments on commit f5e855d

Please sign in to comment.