1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

Merge branch 'ticket/bantu/9785' into develop-olympus

* ticket/bantu/9785:
  [ticket/9785] Allow users to request new passwords when board is disabled.
This commit is contained in:
Igor Wiedler
2010-09-16 22:29:18 +02:00

View File

@@ -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);
}