[PR #4955] [MERGED] Add must-change-password flag to cli for creating a user #17566

Closed
opened 2025-11-02 14:06:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4955
Author: @adelowo
Created: 9/18/2018
Status: Merged
Merged: 10/20/2018
Merged by: @lafriks

Base: masterHead: must_change_password_cli


📝 Commits (9)

  • e6827d4 add support for an admin to force a user to change his/her password from thee cli
  • 938d1f7 use BoolFlag instead
  • d2bc4de default to true
  • c104e50 Merge remote-tracking branch 'origin/master' into must_change_password_cli
  • ddced41 simplify by removing unnneccessary if/else
  • 5c075a5 Merge branch 'master' into must_change_password_cli
  • 10b8ffc Merge branch 'master' into must_change_password_cli
  • f49a4d5 Merge branch 'master' into must_change_password_cli
  • c63ca0a Merge branch 'master' into must_change_password_cli

📊 Changes

1 file changed (+17 additions, -5 deletions)

View changed files

📝 cmd/admin.go (+17 -5)

📄 Description

This is more like an addition to https://github.com/go-gitea/gitea/pull/4489 .. This introduces a flag that mimics the aforementioned PR.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4955 **Author:** [@adelowo](https://github.com/adelowo) **Created:** 9/18/2018 **Status:** ✅ Merged **Merged:** 10/20/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `must_change_password_cli` --- ### 📝 Commits (9) - [`e6827d4`](https://github.com/go-gitea/gitea/commit/e6827d4a7e7794e4fabad9f47b4ff4f1e902446c) add support for an admin to force a user to change his/her password from thee cli - [`938d1f7`](https://github.com/go-gitea/gitea/commit/938d1f7662f8c1d915994d0f8c155e30bff3e61a) use BoolFlag instead - [`d2bc4de`](https://github.com/go-gitea/gitea/commit/d2bc4de7a0a9584dfc42f1fb7f8f4c7d924deb42) default to true - [`c104e50`](https://github.com/go-gitea/gitea/commit/c104e50434062682d342ed7244c7fcb11bd0427d) Merge remote-tracking branch 'origin/master' into must_change_password_cli - [`ddced41`](https://github.com/go-gitea/gitea/commit/ddced419d8c62ca3105fbb5fbb9260ad9b59b065) simplify by removing unnneccessary if/else - [`5c075a5`](https://github.com/go-gitea/gitea/commit/5c075a5cacee3dc7385b39aab4cf292608329259) Merge branch 'master' into must_change_password_cli - [`10b8ffc`](https://github.com/go-gitea/gitea/commit/10b8ffc1587c3e727ea9d41a12afa73fa7fbe943) Merge branch 'master' into must_change_password_cli - [`f49a4d5`](https://github.com/go-gitea/gitea/commit/f49a4d56a24d6facc094bd998bf0944c0549d4a6) Merge branch 'master' into must_change_password_cli - [`c63ca0a`](https://github.com/go-gitea/gitea/commit/c63ca0a335120fa963c1df2c7a6f11b3e8793f0a) Merge branch 'master' into must_change_password_cli ### 📊 Changes **1 file changed** (+17 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+17 -5) </details> ### 📄 Description This is more like an addition to https://github.com/go-gitea/gitea/pull/4489 .. This introduces a flag that mimics the aforementioned PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 14:06:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17566