you are checking if the password is less than 6 characters in the backend, you could make sure in the frontend that the password's length and other similar validations is sent in the right format.
|
signupRet.msg = 'username or gender is empty or password is less than 6 char'; |
you are checking if the password is less than 6 characters in the backend, you could make sure in the frontend that the password's length and other similar validations is sent in the right format.
twitter/src/validation.js
Line 39 in 6cf790b