[PR #5023] [MERGED] Generate random password #17597

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5023
Author: @adelowo
Created: 10/6/2018
Status: Merged
Merged: 10/30/2018
Merged by: @techknowlogick

Base: masterHead: generate_random_password


📝 Commits (8)

  • 8b9d23d add random-password flag
  • bb7a965 Merge remote-tracking branch 'origin/master' into generate_random_password
  • 1d3111d Merge branch 'master' into generate_random_password
  • 05bffae Merge branch 'master' into generate_random_password
  • 799564f run make fmt
  • 39e3431 Merge branch 'master' of https://github.com/go-gitea/gitea into generate_random_password
  • e6d3d78 add length cli flag rather than use a default value
  • c01aeba Merge branch 'master' into generate_random_password

📊 Changes

1 file changed (+32 additions, -2 deletions)

View changed files

📝 cmd/admin.go (+32 -2)

📄 Description

Fixes https://github.com/go-gitea/gitea/issues/4931

  • Added a new cli flag -random-password
  • Added a new cli flag -random-password-length for configuring length of generated password
  • Generate a random password with generate.GetRandomString

Thoughts ?


🔄 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/5023 **Author:** [@adelowo](https://github.com/adelowo) **Created:** 10/6/2018 **Status:** ✅ Merged **Merged:** 10/30/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `generate_random_password` --- ### 📝 Commits (8) - [`8b9d23d`](https://github.com/go-gitea/gitea/commit/8b9d23d6ca99a168a4886d0a5d20b32d98962461) add random-password flag - [`bb7a965`](https://github.com/go-gitea/gitea/commit/bb7a9654183b28c8fc0fac4af38366d512e7aa87) Merge remote-tracking branch 'origin/master' into generate_random_password - [`1d3111d`](https://github.com/go-gitea/gitea/commit/1d3111da5116edb9b10fd3c24297181a31477f15) Merge branch 'master' into generate_random_password - [`05bffae`](https://github.com/go-gitea/gitea/commit/05bffaec979b51cb24198fcfd6e5fd1f0289169b) Merge branch 'master' into generate_random_password - [`799564f`](https://github.com/go-gitea/gitea/commit/799564f5ab8533d12f293d3fe287e72e5be461fc) run make fmt - [`39e3431`](https://github.com/go-gitea/gitea/commit/39e34316005c49538f52704a45be797af9dc5f01) Merge branch 'master' of https://github.com/go-gitea/gitea into generate_random_password - [`e6d3d78`](https://github.com/go-gitea/gitea/commit/e6d3d78782ed876ce42033627ba727847dba065d) add length cli flag rather than use a default value - [`c01aeba`](https://github.com/go-gitea/gitea/commit/c01aeba2d8d60a8dc2e40a8d40f172f060b3df56) Merge branch 'master' into generate_random_password ### 📊 Changes **1 file changed** (+32 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+32 -2) </details> ### 📄 Description Fixes https://github.com/go-gitea/gitea/issues/4931 - [x] Added a new cli flag `-random-password` - [x] Added a new cli flag `-random-password-length` for configuring length of generated password - [x] Generate a random password with `generate.GetRandomString` Thoughts ? --- <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:20:09 -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#17597