Skip to content

feat(web): add password protection for web console#2762

Merged
zhayujie merged 1 commit intomasterfrom
feat-web-console-upgrade
Apr 12, 2026
Merged

feat(web): add password protection for web console#2762
zhayujie merged 1 commit intomasterfrom
feat-web-console-upgrade

Conversation

@zhayujie
Copy link
Copy Markdown
Owner

  • Add web_password config to enable login authentication
  • Use stateless HMAC-signed token (survives restart, invalidates on password change)
  • Add web_session_expire_days config (default 30 days)
  • Protect all API endpoints with auth check (401 on failure)
  • Add login page UI with auto-redirect on session expiry
  • Add password management in config page (masked display, inline edit)
  • Add tooltip hints for Agent config fields
  • Update default agent_max_context_turns to 20, agent_max_steps to 20
  • Update docs and docker-compose.yml

- Add `web_password` config to enable login authentication
- Use stateless HMAC-signed token (survives restart, invalidates on password change)
- Add `web_session_expire_days` config (default 30 days)
- Protect all API endpoints with auth check (401 on failure)
- Add login page UI with auto-redirect on session expiry
- Add password management in config page (masked display, inline edit)
- Add tooltip hints for Agent config fields
- Update default agent_max_context_turns to 20, agent_max_steps to 20
- Update docs and docker-compose.yml
@zhayujie zhayujie merged commit 070df82 into master Apr 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant