File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ func (api *API) postFirstUser(rw http.ResponseWriter, r *http.Request) {
148
148
err = userpassword .Validate (createUser .Password )
149
149
if err != nil {
150
150
httpapi .Write (ctx , rw , http .StatusBadRequest , codersdk.Response {
151
- Message : "Password not strong enough! " ,
151
+ Message : "Password is invalid " ,
152
152
Validations : []codersdk.ValidationError {{
153
153
Field : "password" ,
154
154
Detail : err .Error (),
@@ -448,7 +448,7 @@ func (api *API) postUser(rw http.ResponseWriter, r *http.Request) {
448
448
err = userpassword .Validate (req .Password )
449
449
if err != nil {
450
450
httpapi .Write (ctx , rw , http .StatusBadRequest , codersdk.Response {
451
- Message : "Password not strong enough! " ,
451
+ Message : "Password is invalid " ,
452
452
Validations : []codersdk.ValidationError {{
453
453
Field : "password" ,
454
454
Detail : err .Error (),
You can’t perform that action at this time.
0 commit comments