discourse/db
Sam Saffron 6f9177e2ed
FEATURE: enforce_canonical_emails site setting
The new `enforce_canonical_emails` site setting ensures that emails in the
canonical form are unique.

This mean that if `s.a.m+1@gmail.com` is registered `sam@gmail.com` will
not be allowed.

The commit contains a blanket "tag strip" (stripping everything after +)
it also contains special handling of a "dot strip" for googlemail and gmail.

The setting only impacts new registrations after `enforce_canonical_emails`

The setting is default false so it will not impact any existing installs.
2020-04-14 14:16:30 +10:00
..
fixtures FEATURE: Webhooks and Event for user being granted a badge 2020-04-08 14:38:30 -07:00
migrate FEATURE: enforce_canonical_emails site setting 2020-04-14 14:16:30 +10:00
post_migrate FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
api_test_seeds.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00