aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-01-25 19:49:02 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-01-25 19:49:02 +0100
commit305b2b8f4876e9a11c30a36b10a92b112db47864 (patch)
tree3e36d37a123c47e5fae074020c0ae763a92de4ef
parent229d1092f8c18075ad03c6d67dd78707cbf1b421 (diff)
downloadforums-305b2b8f4876e9a11c30a36b10a92b112db47864.tar
forums-305b2b8f4876e9a11c30a36b10a92b112db47864.tar.gz
forums-305b2b8f4876e9a11c30a36b10a92b112db47864.tar.bz2
forums-305b2b8f4876e9a11c30a36b10a92b112db47864.tar.xz
forums-305b2b8f4876e9a11c30a36b10a92b112db47864.zip
[ticket/11343] Use === when checking stored user_actkey against user input.
Use strict comparison when checking whether stored user_actkey is equal to user input. PHPBB3-11343
-rw-r--r--phpBB/includes/ucp/ucp_activate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php
index 82c1937919..1177d55c12 100644
--- a/phpBB/includes/ucp/ucp_activate.php
+++ b/phpBB/includes/ucp/ucp_activate.php
@@ -51,7 +51,7 @@ class ucp_activate
trigger_error('ALREADY_ACTIVATED');
}
- if (($user_row['user_inactive_reason'] == INACTIVE_MANUAL) || $user_row['user_actkey'] != $key)
+ if (($user_row['user_inactive_reason'] == INACTIVE_MANUAL) || $user_row['user_actkey'] !== $key)
{
trigger_error('WRONG_ACTIVATION');
}