MantisBT: master-2.27 3af60d47

Author Committer Branch Timestamp Parent
raspopov community master-2.27 2025-02-01 04:58 master-2.27 5a12a854
Affected Issues  0035233: REST API fail external authentication
Changeset

REST API authentication fall back to default checks

If the initial authentication token check fails, we fall back to default
checks. This will help in situations where the request contains an
"Authorization:" header that does not contain a token because another
authentication method is being used, such as cookies or anonymous.

Fixes 0035233, PR https://github.com/mantisbt/mantisbt/pull/2071

mod - api/rest/restcore/AuthMiddleware.php Diff File