mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
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:
parent
7146e0a9b2
commit
973d3f899a
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user