mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-03 14:32:44 +08:00
When Authorization: Bearer is present but does not match (or is disabled), respond with 401 Unauthorized so script authors can distinguish auth failure from a wrong webBasePath. Requests with no Authorization header still get 404 masking; wrong base paths continue to 404 via NoRoute. Fixes #6255 Co-authored-by: mrchatam <[email protected]>