mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
[ticket/9785] Allow users to request new passwords when board is disabled.
PHPBB3-9785
This commit is contained in:
parent
9731f2492f
commit
889eace41c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ require($phpbb_root_path . 'includes/functions_module.' . $phpEx);
|
||||||
$id = request_var('i', '');
|
$id = request_var('i', '');
|
||||||
$mode = request_var('mode', '');
|
$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);
|
define('IN_LOGIN', true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue