Remove dots of gmail addresses

I had a chat with our moderator Daniel. He asks us to remove dots from
gmail accounts. He finds it more consistent and he has no problem to
write a mail to a gmail address without dots. He is OK to save the
email address different from how a user memorizes it.
This commit is contained in:
roschaefer 2019-11-28 14:02:11 +01:00
parent 7146e0a9b2
commit 973d3f899a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { normalizeEmail } from 'validator'
export default email =>
normalizeEmail(email, {
gmail_remove_dots: false,
// gmail_remove_dots: true, default
gmail_remove_subaddress: false,
// gmail_convert_googlemaildotcom: true, default
outlookdotcom_remove_subaddress: false,

View File

@ -2,7 +2,7 @@ import { normalizeEmail } from 'validator'
export default email =>
normalizeEmail(email, {
gmail_remove_dots: false,
// gmail_remove_dots: false, default
gmail_remove_subaddress: false,
// gmail_convert_googlemaildotcom: true, default
outlookdotcom_remove_subaddress: false,