Preventing ANYONE from creating a user account

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
beeeph
Posts: 1
Joined: 23 Mar 2009, 22:17

Preventing ANYONE from creating a user account

Post by beeeph »

I just installed Mantis and currently it looks like ANYONE at all can register for a new account simply by filling out the form and waiting for their email to arrive so they can activate it. How can I prevent ANYONE from creating a user account? I looked all around and thought this would be a simple configuration tweak in some menu somewhere. Am I missing something?

Thanks in advance for all your help!
jonathh
Posts: 5
Joined: 07 Apr 2009, 09:38

Re: Preventing ANYONE from creating a user account

Post by jonathh »

You want

$g_allow_signup = OFF; // Disable sign-up page.

in your config_inc.php file.

I find that when looking for an option, searching the config_defaults.php is a big help - the variables are well named and the comments adequate.
vida
Posts: 6
Joined: 10 May 2010, 13:56
Location: Prague

Re: Preventing ANYONE from creating a user account

Post by vida »

I did it, I put "$g_allow_signup = OFF;" to the config_defaults_inc.php, but there is still possibility to create account on the login page.

Any idea how to help me?

Thank in advance.
atrol
Site Admin
Posts: 8539
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Preventing ANYONE from creating a user account

Post by atrol »

vida wrote:to the config_defaults_inc.php
Although this should work, don't change config_defaults_inc.php (your changes will not be preserved when updating) but config_inc.php
Seems you have a typo or you entered your line in file config_defaults_inc.php before the original setting to ON
Please use Search before posting and read the Manual
vida
Posts: 6
Joined: 10 May 2010, 13:56
Location: Prague

Re: Preventing ANYONE from creating a user account

Post by vida »

atrol wrote:Although this should work, don't change config_defaults_inc.php (your changes will not be preserved when updating) but config_inc.php
Seems you have a typo or you entered your line in file config_defaults_inc.php before the original setting to ON
Oh, thank you, I didn't know that there is the same variable in config_inc.php. Now it's OK. Thank you!
Post Reply