Skip to content

Set user avatar with CLI or API #25344

Closed
@lonix1

Description

@lonix1

Feature Description

We use automation (ansible) to setup multiple servers, each has gitea and our ci/cd stuff. We create the same users each time for our team members.

One can create a user with the CLI: username, password, email, is_admin.

But it's not possible to specify the avatar. It would be nice to do that with the CLI (or some other method, maybe just put the images in a certain directory using a certain filename?).

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/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