Skip to content

Commit 996912d

Browse files
doc: add error code and messages about validate password
1 parent f9def2f commit 996912d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/signing_up_and_signing_in.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Creates a new user account.
6262
* `{"13": "Email cannot be empty"}`
6363
* `{"21": "Username is already in use"}`
6464
* `{"22": "Email is already in use"}`
65+
* `{"31": ["This password is too short. It must contain at least 8 characters.", "This password is too common.", "This password is entirely numeric."]}`
6566
* **Sample Call:**
6667

6768
`$ curl -L -X POST http://127.0.0.1:8001/api/v1/auth/signup/ -d "username=some.user&password=secret&[email protected]"`

0 commit comments

Comments
 (0)