Skip to content

cli --must-change-password not working #19026

Closed
@loynoir

Description

@loynoir

Gitea Version

[Docker] Gitea version 1.16.3 built with GNU Make 4.3, go1.17.6 : bindata, timetzdata, sqlite, sqlite_unlock_notif

Git Version

No response

Operating System

No response

How are you running Gitea?

cli --must-change-password not working

$ docker run -p 3000:3000 -it gitea/gitea
$ docker exec -it $(docker ps|grep gitea|awk '{print $1}') bash

Visit Initial Configuration at http://localhost:3000/

# su git
$ gitea admin user create  --username foo  --password foo  --email foo@localhost  --must-change-password false

Still need to change password when first login

But using library generated by https://github.com/OpenAPITools/openapi-generator, --must-change-password false works fine.

Database

No response

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions