This commit is contained in:
Lunny Xiao
2025-10-03 12:25:46 -07:00
parent 376476150e
commit 7530fb23a6
3 changed files with 6 additions and 4 deletions

View File

@@ -307,6 +307,7 @@ var tokenScopeOpts = []string{
string(gitea.AccessTokenScopeSudo),
}
// LoginSelect prompts the user to select a login if multiple are configured
func LoginSelect() (*config.Login, error) {
logins, err := config.GetLogins()
if err != nil {