Skip to content

API Call /admin/users/{username} does not work without email. #13543

@gabyx

Description

@gabyx

Description

API Call https://try.gitea.io/api/swagger#/admin/adminEditUser
does not succeed with out email:

{
  "active": true,
  "email": "[email protected]"
}

Cannot provide a test, since I the admin user on https://try.gitea.io is not known (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions