aboutsummaryrefslogtreecommitdiff
path: root/cmd/create-account/main.go
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2022-10-02 11:31:40 +0200
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2022-10-02 11:31:40 +0200
commitd4710217f8d96ee6889e1e4e7c26defc5456b523 (patch)
tree347100884ba34e0fdbff71b85f666d7fe57502bc /cmd/create-account/main.go
parenta050503d8d2f606fc909e6c9b04c81b91c1bd984 (diff)
Use non-HTTPS as default URL, as most people will be running behind a
reverse proxy
Diffstat (limited to 'cmd/create-account/main.go')
-rw-r--r--cmd/create-account/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/create-account/main.go b/cmd/create-account/main.go
index a9357f6d..52301415 100644
--- a/cmd/create-account/main.go
+++ b/cmd/create-account/main.go
@@ -64,7 +64,7 @@ var (
pwdStdin = flag.Bool("passwordstdin", false, "Reads the password from stdin")
isAdmin = flag.Bool("admin", false, "Create an admin account")
resetPassword = flag.Bool("reset-password", false, "Deprecated")
- serverURL = flag.String("url", "https://localhost:8448", "The URL to connect to.")
+ serverURL = flag.String("url", "http://localhost:8008", "The URL to connect to.")
validUsernameRegex = regexp.MustCompile(`^[0-9a-z_\-=./]+$`)
timeout = flag.Duration("timeout", time.Second*30, "Timeout for the http client when connecting to the server")
)