aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-08-22 20:26:18 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-08-22 20:26:18 +0200
commit889eace41c6221ece47256dde94f8ca99affc4a0 (patch)
treeea75e7f317c4c1e0fae4fbd0f97886f9bd872a5e /phpBB/ucp.php
parent9731f2492f329a35b80483fa7573763b728c4f40 (diff)
downloadforums-889eace41c6221ece47256dde94f8ca99affc4a0.tar
forums-889eace41c6221ece47256dde94f8ca99affc4a0.tar.gz
forums-889eace41c6221ece47256dde94f8ca99affc4a0.tar.bz2
forums-889eace41c6221ece47256dde94f8ca99affc4a0.tar.xz
forums-889eace41c6221ece47256dde94f8ca99affc4a0.zip
[ticket/9785] Allow users to request new passwords when board is disabled.
PHPBB3-9785
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
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);
}