server-side password validation

This commit is contained in:
realaravinth
2021-05-02 10:32:22 +05:30
parent a82d61ed27
commit c7bac9e623
6 changed files with 30 additions and 9 deletions

View File

@@ -64,6 +64,7 @@ const registerUser = async (e: Event) => {
let payload = {
username,
password,
confirm_password: passwordCheck,
email,
};