Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: gitea admin create-user random password #4931

Closed
SagePtr opened this issue Sep 13, 2018 · 2 comments · Fixed by #5023
Closed

Proposal: gitea admin create-user random password #4931

SagePtr opened this issue Sep 13, 2018 · 2 comments · Fixed by #5023
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@SagePtr
Copy link
Contributor

SagePtr commented Sep 13, 2018

  • Gitea version (or commit ref): 1.6.x
  • Git version: any
  • Operating system: any
  • Database (use [x]): any

Description

It would be good addition to #4489 (Force user to change password), as new admin-created users have temporary passwords - would be nice to add random password generator option to gitea admin create-user commans.

Example syntax: gitea admin create-user --name=jane --email=jane@example.org --random-password

Or just imply --random-password if no --password=xxxxxxxx set.

If random password parameter specified, new password should be printed to stdout on successful user creation to make admin copy it and send to new user. Or if mail is configured, this temporary password may be also sent to new user's email.

Probably random password should be composed of characters which are hard to mistype (without 0 O, i l 1 and other similar pairs)

@adelowo
Copy link
Member

adelowo commented Sep 13, 2018

@SagePtr are you potentially working on this ? Else I can

@SagePtr
Copy link
Contributor Author

SagePtr commented Sep 13, 2018

@adelowo I didn't started working on it yet, better if you work on this feature because i'm less experienced in golang

@adelowo adelowo mentioned this issue Oct 6, 2018
3 tasks
@lunny lunny added the type/enhancement An improvement of existing functionality label Oct 6, 2018
@lafriks lafriks added this to the 1.7.0 milestone Oct 30, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants