Disabling the ability to register a new account from the login panel
Moderators: Developer, Contributor
Disabling the ability to register a new account from the login panel
How do I disable the ability to create a new account from the Mantis login window in the mantisbt setting? I've set $g_allow_signup=Off; but the user can still create an account. Where else might the ability to register a new account be stored?
Re: Disabling the ability to register a new account from the login panel
Change to
Code: Select all
$g_allow_signup=OFF;Re: Disabling the ability to register a new account from the login panel
I set this parameter this way, but the option to create an account from the Mantis login level is still visible
Re: Disabling the ability to register a new account from the login panel
I added it in config_inc.php and changed it in config_defaults_inc.php
Re: Disabling the ability to register a new account from the login panel
Never ever change this file. It's not needed and your changes will be lost when upgrading.
To be complete sure that the right file is changed, add the following line to file config_inc.php
Code: Select all
die ("Hello");Which MantisBT version do you have installed?
Which plugins are installed?
Re: Disabling the ability to register a new account from the login panel
I have version 2.28.1 php version 8.4.20 Mariadb 12.2.2.
Plugins:
Mantis EasyEnter 1.2
Lightbox Integration 1.0
Better status colors 1.0.3
Plugins:
Mantis EasyEnter 1.2
Lightbox Integration 1.0
Better status colors 1.0.3
Re: Disabling the ability to register a new account from the login panel
Did you try to add the following line?
Code: Select all
die ("Hello");