-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels