Add expiring panel auth sessions

This commit is contained in:
2026-04-02 00:45:27 +03:00
parent e342693211
commit 69c97ea387
11 changed files with 514 additions and 93 deletions

View File

@@ -26,6 +26,14 @@ Default panel credentials:
- login: `admin`
- password: `proxy-ui-demo`
For Docker runs these values come from `compose.yaml`:
- `PANEL_AUTH_LOGIN`
- `PANEL_AUTH_PASSWORD`
- `PANEL_SESSION_TTL_HOURS` with a default of `24`
The panel stores the issued session token in `sessionStorage`, so a browser refresh keeps the operator signed in until the token expires.
## Docker run
```bash