mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 09:15:26 +01:00 
			
		
		
		
	When there is no login detected, list all possible logins to select
This commit is contained in:
		| @@ -6,6 +6,7 @@ package cmd | ||||
| import ( | ||||
| 	stdctx "context" | ||||
|  | ||||
| 	"code.gitea.io/tea/cmd/base" | ||||
| 	"code.gitea.io/tea/cmd/organizations" | ||||
| 	"code.gitea.io/tea/modules/context" | ||||
| 	"code.gitea.io/tea/modules/print" | ||||
| @@ -31,7 +32,7 @@ var CmdOrgs = cli.Command{ | ||||
| } | ||||
|  | ||||
| func runOrganizations(ctx stdctx.Context, cmd *cli.Command) error { | ||||
| 	teaCtx := context.InitCommand(cmd) | ||||
| 	teaCtx := base.InitCommand(cmd) | ||||
| 	if teaCtx.Args().Len() == 1 { | ||||
| 		return runOrganizationDetail(teaCtx) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao