mirror of
https://gitea.com/gitea/tea.git
synced 2025-12-15 19:02:05 +01:00
When there is no login detected, list all possible logins to select
This commit is contained in:
@@ -6,8 +6,8 @@ package users
|
||||
import (
|
||||
stdctx "context"
|
||||
|
||||
"code.gitea.io/tea/cmd/base"
|
||||
"code.gitea.io/tea/cmd/flags"
|
||||
"code.gitea.io/tea/modules/context"
|
||||
"code.gitea.io/tea/modules/print"
|
||||
|
||||
"code.gitea.io/sdk/gitea"
|
||||
@@ -34,7 +34,7 @@ var CmdUserList = cli.Command{
|
||||
|
||||
// RunUserList list users
|
||||
func RunUserList(_ stdctx.Context, cmd *cli.Command) error {
|
||||
ctx := context.InitCommand(cmd)
|
||||
ctx := base.InitCommand(cmd)
|
||||
|
||||
fields, err := userFieldsFlag.GetValues(cmd)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user