Actions
Defect #42584
closedNoMethodError when creating a user with an invalid email address and domain restrictions are enabled
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When "Allowed email domains" or "Disallowed email domains" are configured in Administration > Settings, attempting to create a new user with an invalid email address that does not contain an '@
' causes a NoMethodError
in EmailAddress.domain_in?
during validation. As a result, the user sees an "Internal Server Error" page.
The attached patch fixes the issue.
Files
Updated by Marius BĂLTEANU about 15 hours ago
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Actions