diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index ecc6ca76..19182fb2 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -147,6 +147,7 @@ class ModelUserAuth extends Model { private function checkLoginAgainstLDAP_real($username = '', $password = '', $data = array(), $a = array()) { + $session = Registry::get('session'); $ldap_type = ''; $ldap_host = LDAP_HOST;