Skip to content

Commit 9d40d2f

Browse files
authored
fix: remove create first user from the cli message (coder#6493)
This adjusts our setup to just show the Web UI, since you can now create everything from there!
1 parent db2bdd1 commit 9d40d2f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

cli/server.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,14 +1044,6 @@ flags, and YAML configuration. The precedence is as follows:
10441044
}
10451045
}()
10461046

1047-
hasFirstUser, err := client.HasFirstUser(ctx)
1048-
if err != nil {
1049-
cmd.Println("\nFailed to check for the first user: " + err.Error())
1050-
} else if !hasFirstUser {
1051-
cmd.Println("\nGet started by creating the first user (in a new terminal):")
1052-
cmd.Println(cliui.Styles.Code.Render("coder login " + cfg.AccessURL.String()))
1053-
}
1054-
10551047
cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):")
10561048

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

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

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

0 commit comments

Comments
 (0)