[SecurityBundle] added a missing entry in the CHANGELOG

This commit is contained in:
Fabien Potencier 2013-04-20 15:51:07 +02:00
parent 1777d984b9
commit 51a3561ed4
2 changed files with 9 additions and 4 deletions

View File

@ -1,11 +1,16 @@
CHANGELOG
=========
2.3.0
-----
* allowed for multiple IP address in security access_control rules
2.2.0
-----
* Added PBKDF2 Password encoder
* Added BCrypt password encoder
* Added PBKDF2 Password encoder
* Added BCrypt password encoder
2.1.0
-----

View File

@ -153,13 +153,13 @@ class RequestMatcher implements RequestMatcherInterface
return false;
}
foreach($this->ips as $ip) {
foreach ($this->ips as $ip) {
if (IpUtils::checkIp($request->getClientIp(), $ip)) {
return true;
}
}
// Note to future implementors: add additional checks above the
// Note to future implementors: add additional checks above the
// foreach above or else your check might not be run!
return count($this->ips) === 0;