Restrict Signup by Domain

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
tungsten
Posts: 3
Joined: 29 Jul 2009, 04:09

Restrict Signup by Domain

Post by tungsten »

Hello Everyone,

I am a Mantis newby and I am wondering if there is a way to restrict user signup by specific domain? This will help us prevent SPAM and allow only our users to actually signup.

Corbett
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Restrict Signup by Domain

Post by Kirill »

You don't want to register from specific domain or you want use only specific domain?
tungsten
Posts: 3
Joined: 29 Jul 2009, 04:09

Re: Restrict Signup by Domain

Post by tungsten »

I want to limit registrations to mail.mydomain.com. In other words they would be unable to register with any other email domain.
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Restrict Signup by Domain

Post by Kirill »

I think you can't do this.
For now exists this option only access from one or more domain, but they must be writen

Code: Select all

    /**
     * Only allow and send email to addresses in the given domain
     * For example:
     * $g_limit_email_domain        = 'users.sourceforge.net';
     * @global string|int $g_limit_email_domain
     */
    $g_limit_email_domain    = OFF;
 
tungsten
Posts: 3
Joined: 29 Jul 2009, 04:09

Re: Restrict Signup by Domain

Post by tungsten »

You are awesome! Thank you so much for pointing me in the right direction. I really appreciate it!

Corbett
vaidy
Posts: 10
Joined: 09 Oct 2009, 10:01

Re: Restrict Signup by Domain

Post by vaidy »

Hi
I was looking out for the past few days to do a similar thing with my Mantis setup.
I would like to restrict users only from mydomain1.com, mydomain2.com, mydomain3.com to be able to register.
Is there a way to achieve this.
I think $g_limit_email_domain restricts to only one domain...

Please help.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Restrict Signup by Domain

Post by vboctor »

See the following feature request for the same feature:
http://www.mantisbt.org/bugs/view.php?id=2609
Migrate your MantisBT to the MantisHub Cloud
Post Reply