Project

General

Profile

Actions

Feature #12855

closed

Sometime,we need limit register email address

Added by Jinyi Cui about 13 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Resolution:
Duplicate

Description

When you use redmine in the compay,you coworker will register account themselfs, you need limit email address,only can register,redmine can't check the email like '' 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

Related to Redmine - Defect #12106: Users can easily use any (not yet used) email address for their account (potential security issue)NewActions
Has duplicate Redmine - Feature #14341: Ability to self-register only from ceratain domainsClosedActions
Is duplicate of Redmine - Feature #3369: Allowed/Disallowed email domains settings to restrict users' email addressesClosedGo MAEDA2009-05-16Actions
Actions

Also available in: Atom PDF