Skip to content

Commit 60a25b1

Browse files
committed
fix: remove create first user from the cli message
This adjusts our setup to just show the Web UI, since you can now create everything from there!
1 parent bb0a996 commit 60a25b1

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
@@ -837,14 +837,6 @@ func Server(vip *viper.Viper, newAPI func(context.Context, *coderd.Options) (*co
837837
}
838838
}()
839839

840-
hasFirstUser, err := client.HasFirstUser(ctx)
841-
if err != nil {
842-
cmd.Println("\nFailed to check for the first user: " + err.Error())
843-
} else if !hasFirstUser {
844-
cmd.Println("\nGet started by creating the first user (in a new terminal):")
845-
cmd.Println(cliui.Styles.Code.Render("coder login " + accessURLParsed.String()))
846-
}
847-
848840
cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):")
849841

850842
// Updates the systemd status from activating to activated.
@@ -1159,7 +1151,7 @@ func printLogo(cmd *cobra.Command) {
11591151
return
11601152
}
11611153

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

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

0 commit comments

Comments
 (0)