How can the admin force an existing user to change his password on the next login? #2807

Closed
opened 2025-11-02 04:49:10 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @yanOnGithub on GitHub (Jan 24, 2019).

The user is not new. He is an existing user. The "force password change" checkbox is only available when the admin creates the user. The checkbox is gone for existing users.

Originally created by @yanOnGithub on GitHub (Jan 24, 2019). The user is not new. He is an existing user. The "force password change" checkbox is only available when the admin creates the user. The checkbox is gone for existing users.
GiteaMirror added the type/question label 2025-11-02 04:49:10 -06:00
Author
Owner

@yanOnGithub commented on GitHub (Jan 24, 2019):

I have seen #4340.

@yanOnGithub commented on GitHub (Jan 24, 2019): I have seen #4340.
Author
Owner

@yanOnGithub commented on GitHub (Jan 24, 2019):

Is it sufficient to set user.must_change_password=1 in gitea.db?

@yanOnGithub commented on GitHub (Jan 24, 2019): Is it sufficient to set user.must_change_password=1 in gitea.db?
Author
Owner

@lafriks commented on GitHub (Jan 24, 2019):

yes

@lafriks commented on GitHub (Jan 24, 2019): yes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2807