mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 19:12:42 +00:00
remove old comment
This commit is contained in:
parent
b8fd3b67f2
commit
b3cbd5825c
|
@ -213,7 +213,6 @@ if($user->isDisabled()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// control admin IP address if required
|
// control admin IP address if required
|
||||||
// TODO: extend control to LDAP autentication
|
|
||||||
if ($user->isAdmin() && ($_SERVER['REMOTE_ADDR'] != $settings->_adminIP ) && ( $settings->_adminIP != "") ){
|
if ($user->isAdmin() && ($_SERVER['REMOTE_ADDR'] != $settings->_adminIP ) && ( $settings->_adminIP != "") ){
|
||||||
_printMessage(getMLText("login_error_title"), getMLText("invalid_user_id"));
|
_printMessage(getMLText("login_error_title"), getMLText("invalid_user_id"));
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user