We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent94bf1e3 commitb8c9192Copy full SHA for b8c9192
coderd/users.go
@@ -148,7 +148,7 @@ func (api *API) postFirstUser(rw http.ResponseWriter, r *http.Request) {
148
err=userpassword.Validate(createUser.Password)
149
iferr!=nil {
150
httpapi.Write(ctx,rw,http.StatusBadRequest, codersdk.Response{
151
-Message:"Passwordnot strong enough!",
+Message:"Passwordis invalid",
152
Validations: []codersdk.ValidationError{{
153
Field:"password",
154
Detail:err.Error(),
@@ -448,7 +448,7 @@ func (api *API) postUser(rw http.ResponseWriter, r *http.Request) {
448
err=userpassword.Validate(req.Password)
449
450
451
452
453
454