Actions
Feature #12855
closedSometime,we need limit register email address
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
When you use redmine in the compay,you coworker will register account themselfs, you need limit email address,only name@company.com can register,redmine can't check the email like '%@compay.com' now.
you can find the regular expression in models/user.rb
validates_format_of :mail, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i, :allow_blank => true
make the '@compay.com' limit can be config maybe is a good idea.
Related issues
Actions