Commit Graph

2 Commits

Author SHA1 Message Date
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
墨梓柒
c790dcb705 feat: Enhance authentication mechanism to support token retrieval from both Cookie and Header
- Added a new auth module to manage authentication-related functions.
- Updated existing routes in expression_routes, person_routes, plugin_routes, and routes to utilize the new authentication methods.
- Implemented CORS middleware in webui_server for development environment support.
- Introduced functions to set and clear authentication cookies.
- Enhanced token verification to prioritize Cookie over Header for improved security and flexibility.
2025-11-30 15:53:39 +08:00