API User search now fails if not using token #3300

Closed
opened 2025-11-02 05:07:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @richmahn on GitHub (May 8, 2019).

User search in the API now fails due to null pointer since the code checks ctx.User.IsAdmin. If not logged in (no token or authorization) this fails.

Version: v1.8.0

Originally created by @richmahn on GitHub (May 8, 2019). User search in the API now fails due to null pointer since the code checks ctx.User.IsAdmin. If not logged in (no token or authorization) this fails. Version: v1.8.0
GiteaMirror added the type/bugmodifies/api labels 2025-11-02 05:07:09 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3300