fix: display trial errors in the dashboard (#13601)

* fix: display trial errors in the dashboard

The error was essentially being ignored before!

* Remove day mention in product of trial

* fmt
This commit is contained in:
Kyle Carberry
2024-06-19 12:02:51 -04:00
committed by GitHub
parent 84cdcac8ad
commit 7049d7a881
4 changed files with 45 additions and 2 deletions

View File

@ -239,7 +239,7 @@ func (r *RootCmd) login() *serpent.Command {
if !inv.ParsedFlags().Changed("first-user-trial") && os.Getenv(firstUserTrialEnv) == "" {
v, _ := cliui.Prompt(inv, cliui.PromptOptions{
Text: "Start a 30-day trial of Enterprise?",
Text: "Start a trial of Enterprise?",
IsConfirm: true,
Default: "yes",
})