chore: replace hardcoded JWT secret with generated key and add property cache to Database class
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ DB_VACUUM_INTERVAL=86400
|
||||
AUTH_METHODS=basic,digest
|
||||
|
||||
# Secret key for JWT and session encryption (generate with: python -c "import secrets; print(secrets.token_hex(32))")
|
||||
JWT_SECRET_KEY=your-secret-key-here-change-this-in-production
|
||||
JWT_SECRET_KEY=defc76e4175b4d5ca6e156e483495ced
|
||||
|
||||
# Session timeout in seconds (1 hour default)
|
||||
SESSION_TIMEOUT=3600
|
||||
|
||||
Reference in New Issue
Block a user