From 66480ebeb902f4e92f3188679ff33453c82f27c8 Mon Sep 17 00:00:00 2001 From: SJ Date: Sat, 5 Jul 2014 17:29:35 +0200 Subject: [PATCH] group typo fix --- webui/model/user/auth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index ee4ff898..af101380 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -129,7 +129,7 @@ class ModelUserAuth extends Model { $emails = $this->get_email_array_from_ldap_attr($query->rows); - $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails)); + $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails); $emails = array_merge($emails, $extra_emails); $this->add_session_vars($a['cn'], $username, $emails, $role); @@ -281,7 +281,7 @@ class ModelUserAuth extends Model { if($imap->login($username, $password)) { $imap->logout(); - $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails)); + $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails); $emails = array_merge($emails, $extra_emails); $this->add_session_vars($username, $username, $emails, 0); @@ -310,7 +310,7 @@ class ModelUserAuth extends Model { try { $conn->login($username, $password); - $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails)); + $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails); $emails = array_merge($emails, $extra_emails); $this->add_session_vars($username, $username, $emails, 0); @@ -362,7 +362,7 @@ class ModelUserAuth extends Model { $emails = $this->get_email_array_from_ldap_attr($query->rows); - $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails)); + $extra_emails = $this->model_user_user->get_email_addresses_from_groups($emails); $emails = array_merge($emails, $extra_emails); if($this->check_ldap_membership($ldap_auditor_member_dn, $query->rows) == 1) { $role = 2; }