Merge pull request '#21_Normalise-email-inputs' (#23) from #21_Normalise-email-inputs into main
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 15s
On_Push / build (push) Successful in 1m52s
On_Push / deploy (push) Successful in 13s

Reviewed-on: #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 /.idea
.env .env
*.env
result result
/result /result
*.db *.db
*.db.*
tmp/ tmp/
tmp.* tmp.*

View file

@ -59,7 +59,7 @@ pub mod link {
// check if email exists // check if email exists
let details = match get_server_member_email(&db, email).await { let details = match get_server_member_email(&db, email).await {
None => { 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, Some(x) => x,
}; };