Einladungscodes: registration_mode open|invite|closed, Admin-API /api/invites, App mit Code-Feld und Code-Verwaltung; v0.3.2
This commit is contained in:
parent
d2658de099
commit
cf5e0b1ca7
38 changed files with 665 additions and 25 deletions
|
|
@ -3,7 +3,8 @@
|
|||
# BYTECLAW_LISTEN, BYTECLAW_DATA_DIR, BYTECLAW_WORKSPACE, BYTECLAW_ALLOWED_ORIGINS (comma separated)
|
||||
listen: 127.0.0.1:8787 # bind to 0.0.0.0 only behind TLS (reverse proxy) or in a trusted LAN
|
||||
auth_token: "" # optional static admin token (>= 16 chars, sees all sessions). Generate: openssl rand -hex 32
|
||||
allow_registration: true # users sign up via POST /api/auth/register; set false after creating your account
|
||||
allow_registration: true # legacy switch; registration_mode wins if set
|
||||
registration_mode: "" # open | invite | closed (invite: needs a code from POST /api/invites, admin only)
|
||||
token_ttl_hours: 720 # login token lifetime
|
||||
trusted_proxies: [] # reverse proxy IPs/CIDRs whose X-Forwarded-For is trusted (empty = loopback only)
|
||||
allowed_origins: [] # browser origins allowed besides same host; "*" only if you really mean it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue