Update lib/Controller.php

Co-authored-by: rugk <rugk+git@posteo.de>
This commit is contained in:
Steven Andrés 2020-05-07 15:53:56 -07:00 committed by GitHub
parent 9327c9b58b
commit 9ca041fa06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,7 @@ class Controller
}
}
if( !in_array($remoteip, $whitelist) ) {
$this->_return_message(1, I18n::_('Your IP is not authorized'));
$this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
return;
}