Allowed domains is hard-coded to check second level domains only: here
This implementation will not work if allowed domains is configured with third level domains, e.g. x.gc.ca
The implementation should follow the validation logic of email, which validates the entire domain.
Allowed domains is hard-coded to check second level domains only: here
This implementation will not work if allowed domains is configured with third level domains, e.g.
x.gc.ca
The implementation should follow the validation logic of email, which validates the entire domain.