Update lib/Controller.php

Co-authored-by: rugk <rugk+git@posteo.de>
This commit is contained in:
Steven Andrés 2020-05-07 15:54:13 -07:00 committed by GitHub
parent 9ca041fa06
commit ef9780707a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}