mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 16:35:35 +02:00
[ticket/9785] Allow users to request new passwords when board is disabled.
PHPBB3-9785
This commit is contained in:
@ -22,7 +22,7 @@ require($phpbb_root_path . 'includes/functions_module.' . $phpEx);
|
||||
$id = request_var('i', '');
|
||||
$mode = request_var('mode', '');
|
||||
|
||||
if ($mode == 'login' || $mode == 'logout' || $mode == 'confirm')
|
||||
if (in_array($mode, array('login', 'logout', 'confirm', 'sendpassword', 'activate')))
|
||||
{
|
||||
define('IN_LOGIN', true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user