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

@@ -76,6 +76,7 @@ pub async fn register<'a>(name: &'a str, email: &str, password: &str) {
let msg = Register {
username: name.into(),
password: password.into(),
confirm_password: password.into(),
email: Some(email.into()),
};
let resp =