Merge pull request '#21_Normalise-email-inputs' (#23) from #21_Normalise-email-inputs into main

Reviewed-on: Skynet/discord-bot#23
This commit is contained in:
silver 2024-09-29 19:07:38 +00:00
commit 42f301455a
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -2,11 +2,13 @@
/.idea
.env
*.env
result
/result
*.db
*.db.*
tmp/
tmp.*

View file

@ -59,7 +59,7 @@ pub mod link {
// check if email exists
let details = match get_server_member_email(&db, email).await {
None => {
return "Please check it is your preferred contact on https://ulwolves.ie/memberships/profile and that you are fully paid up.".to_string()
return "Please check it matches (including case) your preferred contact on https://ulwolves.ie/memberships/profile and that you are fully paid up.".to_string()
}
Some(x) => x,
};