mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
fix: remove create first user from the cli message (#6493)
This adjusts our setup to just show the Web UI, since you can now create everything from there!
This commit is contained in:
@ -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):")
|
cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):")
|
||||||
|
|
||||||
// Updates the systemd status from activating to activated.
|
// Updates the systemd status from activating to activated.
|
||||||
@ -1367,7 +1359,7 @@ func printLogo(cmd *cobra.Command) {
|
|||||||
return
|
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) {
|
func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) {
|
||||||
|
Reference in New Issue
Block a user