Files
EvoScientist-WebUI/.env.example
T
m4 8fc2f6a91b
CI / Format, lint & build (push) Has been cancelled
feat: add single-user webui authentication
2026-07-10 17:03:59 +08:00

13 lines
435 B
Bash

# Set to true to require the single-user login screen for every page and API.
WEBUI_AUTH_ENABLED=true
# These values are read only on the server. Keep .env private and never commit it.
WEBUI_AUTH_USERNAME=admin
WEBUI_AUTH_PASSWORD=replace-with-a-long-unique-password
# Generate with: openssl rand -hex 32
WEBUI_AUTH_SECRET=replace-with-at-least-32-random-characters
# Optional. Defaults to 12 hours.
WEBUI_AUTH_SESSION_TTL_HOURS=12