From 889eace41c6221ece47256dde94f8ca99affc4a0 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 22 Aug 2010 20:26:18 +0200 Subject: [PATCH] [ticket/9785] Allow users to request new passwords when board is disabled. PHPBB3-9785 --- phpBB/ucp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 994fe064a1..f5a2ec9648 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -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); }