feat: complete account management and recovery

This commit is contained in:
benya
2026-07-21 02:48:56 +03:00
parent 8936a6b4ba
commit ba09cd7533
16 changed files with 1254 additions and 36 deletions

View File

@@ -15,8 +15,19 @@ RMM_ALLOW_LEGACY_LUCI_PROXY=false
# Set true when the UI is served through an HTTPS reverse proxy.
RMM_COOKIE_SECURE=true
RMM_PUBLIC_SCHEME=https
RMM_PUBLIC_URL=https://rmm.example.com
RMM_METRIC_RETENTION_DAYS=30
# Optional password recovery. Leave RMM_SMTP_HOST empty to disable it.
# Use starttls for port 587 or tls for implicit TLS on port 465.
RMM_SMTP_HOST=
RMM_SMTP_PORT=587
RMM_SMTP_USERNAME=
RMM_SMTP_PASSWORD=
RMM_SMTP_FROM=OpenWrt RMM <rmm@example.com>
RMM_SMTP_TLS_MODE=starttls
RMM_SMTP_SERVER_NAME=
RMM_HTTP_BIND_IP=127.0.0.1
RMM_HTTP_PORT=18080