dupe email check and notifications table

This commit is contained in:
realaravinth
2021-07-13 21:23:08 +05:30
parent 47cca5c9a7
commit 558dbef712
5 changed files with 51 additions and 34 deletions

View File

@@ -182,7 +182,7 @@ pub mod runners {
if msg.contains("mcaptcha_users_name_key") {
return Err(ServiceError::UsernameTaken);
} else if msg.contains("mcaptcha_users_email_key") {
return Err(ServiceError::UsernameTaken);
return Err(ServiceError::EmailTaken);
} else if msg.contains("mcaptcha_users_secret_key") {
continue;
} else {