Commit Graph

1 Commits (ff1779d7cf6d4adb04d9692f63948e83bc7a9022)

Author SHA1 Message Date
zeripath aa1d95300a
Add command to bulk set must-change-password (#22823)
As part of administration sometimes it is appropriate to forcibly tell
users to update their passwords.

This PR creates a new command `gitea admin user must-change-password`
which will set the `MustChangePassword` flag on the provided users.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago