Skip to content

fix: remove create first user from the cli message #6493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions cli/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1044,14 +1044,6 @@ flags, and YAML configuration. The precedence is as follows:
}
}()

hasFirstUser, err := client.HasFirstUser(ctx)
if err != nil {
cmd.Println("\nFailed to check for the first user: " + err.Error())
} else if !hasFirstUser {
cmd.Println("\nGet started by creating the first user (in a new terminal):")
cmd.Println(cliui.Styles.Code.Render("coder login " + cfg.AccessURL.String()))
}

cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):")

// Updates the systemd status from activating to activated.
Expand Down Expand Up @@ -1367,7 +1359,7 @@ func printLogo(cmd *cobra.Command) {
return
}

_, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Software development on your infrastucture\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version()))
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Your Self-Hosted Remote Development Platform\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version()))
}

func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) {
Expand Down