mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update routes.php
This commit is contained in:
parent
ada873f80e
commit
2f23d64e61
@ -66,7 +66,7 @@ Router::scope('/', function (RouteBuilder $routes) {
|
||||
return true;
|
||||
}
|
||||
$allowedIpLocalhost = ['127.0.0.1', 'localhost', '', '::1'];
|
||||
if(true == in_array($clientIp, $allowedIpLocalhost)) {
|
||||
if(in_array($clientIp, $allowedIpLocalhost)) {
|
||||
return true;
|
||||
}
|
||||
$allowedCaller = Configure::read('API.allowedCaller');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user