Skip to content
Snippets Groups Projects
Commit f0f2f459 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix for issue #606 (remove check for ‘username’ attribute in AttributeAddFromLDAP)

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3316 44740490-163a-0410-bde0-09ae8108e29a
parent 9aa87903
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,6 @@ class sspmod_ldap_Auth_Process_AttributeAddFromLDAP extends sspmod_ldap_Auth_Pro
assert('array_key_exists("Attributes", $request)');
$attributes =& $request['Attributes'];
$map =& $this->attribute_map;
if(!isset($attributes[$map['username']])){
throw new Exception('The user\'s identity does not have an attribute called "'.$map['username'].'"');
}
// perform a merge on the ldap_search_filter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment