[SecurityBundle] added a missing entry in the CHANGELOG
This commit is contained in:
parent
1777d984b9
commit
51a3561ed4
@ -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
|
||||
-----
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user