Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix detection of protected user API operations
The current implementation would set the access token before trying out calling `/rest/sitemaps` which would obviously always succeed, since the call would be made with the token. Therefore the "requireToken" flag would not be set properly and prevent the alternative SSE implementation (which allows headers) to be used. Fixes #1146. Signed-off-by: Yannick Schaus <github@schaus.net>
- Loading branch information