sign in with email

This commit is contained in:
realaravinth
2021-06-29 19:42:07 +05:30
parent c581d8d0a3
commit d5aceb60b4
7 changed files with 68 additions and 27 deletions

View File

@@ -45,7 +45,7 @@ const registerUser = async (e: Event) => {
);
const passwordCheck = passwordCheckElement.value;
if (password != passwordCheck) {
return alert("passwords don't match, check again!");
return createError("passwords don't match, check again!");
}
let exists = await userExists();