Skip to content

API: include user activation and sign-in status #15571

Closed
@yoyoyonas

Description

@yoyoyonas
  • Gitea version (or commit ref): 1.14.1
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04, Gitea Binary Download
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

active and prohibit_login can both be set via PATCH /admin/users/{username}, but are not included in the output of GET /admin/users or GET /users/{username}. Imho those are important information when working with the user list and should be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions