diff --git a/Auth/SamlAuth.php b/Auth/SamlAuth.php index 42f8895..1ee84e0 100644 --- a/Auth/SamlAuth.php +++ b/Auth/SamlAuth.php @@ -74,7 +74,7 @@ public function authenticate(){ //Get attributes for SAML from configModel - $atrb_email = $this->configModel->get('samlauth_name_attribute'); + $atrb_email = $this->configModel->get('samlauth_email_attribute'); $atrb_username = $this->configModel->get('samlauth_username_attribute'); $atrb_firstname = $this->configModel->get('samlauth_firstname_attribute'); $atrb_lastname = $this->configModel->get('samlauth_lastname_attribute');