From cf9e8b8a6b5670d05b9375f4f6a517efdd46ccc5 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 8 May 2023 16:09:57 -0400 Subject: [PATCH] patch login bug when override empty --- cli/packages/cmd/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/packages/cmd/login.go b/cli/packages/cmd/login.go index b85ba5cfed..c3a78a941c 100644 --- a/cli/packages/cmd/login.go +++ b/cli/packages/cmd/login.go @@ -67,7 +67,7 @@ var loginCmd = &cobra.Command{ //override domain domainQuery := true - if config.INFISICAL_URL_MANUAL_OVERRIDE != util.INFISICAL_DEFAULT_API_URL { + if config.INFISICAL_URL_MANUAL_OVERRIDE != "" && config.INFISICAL_URL_MANUAL_OVERRIDE != util.INFISICAL_DEFAULT_API_URL { overrideDomain, err := DomainOverridePrompt() if err != nil { util.HandleError(err)