fix(security): harden auth and uploads
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Copy to .env for local deployment.
|
||||
# Generate SECRET_KEY with: python -c "import secrets; print(secrets.token_hex(32))"
|
||||
SECRET_KEY=
|
||||
|
||||
# Set ADMIN_PASSWORD to create or rotate the admin account on startup.
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=
|
||||
|
||||
# Default: 16 MiB
|
||||
MAX_UPLOAD_BYTES=16777216
|
||||
Reference in New Issue
Block a user