mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Email to lower case. The emails should be case-insensitive.
This commit is contained in:
@@ -182,7 +182,10 @@ Meteor.methods({
|
||||
const tokens = emails
|
||||
.map(email => {
|
||||
// if the email was informed we will notify only this email
|
||||
if (selector.email && selector.email !== email) {
|
||||
if (
|
||||
selector.email &&
|
||||
selector.email.toLowerCase() !== email.toLowerCase()
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
const sequence = generateSequence();
|
||||
|
||||
Reference in New Issue
Block a user