diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-08-22 20:26:18 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-08-22 20:26:18 +0200 |
commit | 889eace41c6221ece47256dde94f8ca99affc4a0 (patch) | |
tree | ea75e7f317c4c1e0fae4fbd0f97886f9bd872a5e /phpBB/ucp.php | |
parent | 9731f2492f329a35b80483fa7573763b728c4f40 (diff) | |
download | forums-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.php | 2 |
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); } |