diff --git a/pkg/tui/views/login.go b/pkg/tui/views/login.go index 7ea6f4e..c0d71ca 100644 --- a/pkg/tui/views/login.go +++ b/pkg/tui/views/login.go @@ -178,6 +178,10 @@ func (l *LoginView) View() string { } func isAlreadyLoggedIn(ctx context.Context) bool { + if cfg.GetAPIKey() != "" { + return true + } + c, err := client.NewDefaultClient() if err != nil { return false