Page 1 of 1
Preventing ANYONE from creating a user account
Posted: 23 Mar 2009, 22:23
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!
Re: Preventing ANYONE from creating a user account
Posted: 07 Apr 2009, 14:06
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.
Re: Preventing ANYONE from creating a user account
Posted: 10 May 2010, 15:31
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.
Re: Preventing ANYONE from creating a user account
Posted: 10 May 2010, 18:48
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
Re: Preventing ANYONE from creating a user account
Posted: 10 May 2010, 19:50
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!