Skip to content

Commit

Permalink
patch login bug when override empty
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed May 8, 2023
1 parent c6d5498 commit cf9e8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/packages/cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf9e8b8

Please sign in to comment.