remove old comment

This commit is contained in:
Uwe Steinmann 2016-08-10 08:49:24 +02:00
parent b8fd3b67f2
commit b3cbd5825c

View File

@ -213,7 +213,6 @@ if($user->isDisabled()) {
}
// control admin IP address if required
// TODO: extend control to LDAP autentication
if ($user->isAdmin() && ($_SERVER['REMOTE_ADDR'] != $settings->_adminIP ) && ( $settings->_adminIP != "") ){
_printMessage(getMLText("login_error_title"), getMLText("invalid_user_id"));
exit;