Skip to content

API User search now fails if not using token #6881

@richmahn

Description

@richmahn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions