Commit Graph

5 Commits

Author SHA1 Message Date
yangdx
f8440c8f80 feat(auth): implement auto guest mode and enhance token system
- Add role-based token system with metadata support
- Implement automatic guest mode for unconfigured authentication
- Create new /auth-status endpoint for authentication status checking
- Modify frontend to auto-detect auth status and bypass login when appropriate
- Add guest mode indicator in site header for better UX

This change allows users to automatically access the system without manual
login when authentication is not configured, while maintaining secure
authentication when credentials are properly set up.
2025-03-18 02:56:02 +08:00
choizhang
5fef68b62f Language switching and merging
Add the webuiInitialize variable, dev: '', build:'/webui'
2025-03-15 00:52:21 +08:00
choizhang
10c23aabfd Change to hash routing, webuiInitialize controls project prefix 2025-03-14 17:00:36 +08:00
choizhang
7bf2d51bd0 Added language and theme switching function to login page and homepage 2025-03-12 00:42:12 +08:00
choizhang
6b22e8065b Added loginPage 2025-03-11 14:48:19 +08:00