mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Update lib/Controller.php
Co-authored-by: rugk <rugk+git@posteo.de>
This commit is contained in:
parent
9ca041fa06
commit
ef9780707a
|
@ -204,7 +204,7 @@ class Controller
|
|||
$remoteip = $_SERVER[$httpHeader];
|
||||
}
|
||||
}
|
||||
if( !in_array($remoteip, $whitelist) ) {
|
||||
if(!in_array($remoteip, $whitelist)) {
|
||||
$this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user