You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the current --help output for gitea admin user delete:
NAME:
Gitea admin user delete - Delete specific user
USAGE:
Gitea admin user delete [command options] [arguments...]
OPTIONS:
--id value ID of authentication source (default: 0)
--custom-path value, -C value Custom path file path (default: "/home/git/custom")
--config value, -c value Custom configuration file path (default: "/home/git/custom/conf/app.ini")
--version, -v print the version
--work-path value, -w value Set the gitea working path (default: "/home/git")
BUT the --id switch does NOT specify an authentication source. Instead it is used as the user identifier (not easy to figure out, btw). I'd think it's a bug in implementation rather than documentation, and that the implmeentation is missing a --username switch to reference users by username instead of id
The text was updated successfully, but these errors were encountered:
This pr fixes the label descriptor of `gitea admin delete user`
but also adds a `--username` option.
Fixgo-gitea#13995
Signed-off-by: Andrew Thornton <[email protected]>
* fix label of --id in admin delete user
This pr fixes the label descriptor of `gitea admin delete user`
but also adds a `--username` option.
Fix#13995
Signed-off-by: Andrew Thornton <[email protected]>
* fix-spacing
Signed-off-by: Andrew Thornton <[email protected]>
* Add delete email support
Signed-off-by: Andrew Thornton <[email protected]>
Co-authored-by: 6543 <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
This is the current --help output for
gitea admin user delete
:BUT the
--id
switch does NOT specify an authentication source. Instead it is used as the user identifier (not easy to figure out, btw). I'd think it's a bug in implementation rather than documentation, and that the implmeentation is missing a--username
switch to reference users by username instead of idThe text was updated successfully, but these errors were encountered: