Make Change Password on First Sign In optional in config #12407

Closed
opened 2025-11-02 10:08:53 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @srdjan1210 on GitHub (Jan 30, 2024).

Feature Description

I am trying to use gitea as a backend only service in my project.
That means that I need to be able to do everything via REST API, including creating users and generating tokens for them.

The problem that exists now is that there is no way to disable "change password" on first sign in, when account has been created by administrator, so "access token" route is jammed and asks for password change.

I understand this is a security thing and having change password is a must need option, but I think it would be great to give users a configuration option to disable it.

I believe this was the original issue request for this feature #4489

Screenshots

Not relevant

Originally created by @srdjan1210 on GitHub (Jan 30, 2024). ### Feature Description I am trying to use gitea as a backend only service in my project. That means that I need to be able to do everything via REST API, including creating users and generating tokens for them. The problem that exists now is that there is no way to disable "change password" on first sign in, when account has been created by administrator, so "access token" route is jammed and asks for password change. I understand this is a security thing and having change password is a must need option, but I think it would be great to give users a configuration option to disable it. I believe this was the original issue request for this feature #4489 ### Screenshots Not relevant
GiteaMirror added the type/proposal label 2025-11-02 10:08:53 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 28, 2024):

Automatically locked because of our CONTRIBUTING guidelines

@github-actions[bot] commented on GitHub (Feb 28, 2024): Automatically locked because of our [CONTRIBUTING guidelines](https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#issue-locking)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12407