Return auth type with userinfo
This commit is contained in:
+2
-1
@@ -135,10 +135,11 @@ function auth_get_userinfo($username){
|
||||
$result[$key]=$user_entry[0][strtolower($value)][0];
|
||||
}
|
||||
}
|
||||
$result['guid']='ldap';
|
||||
}
|
||||
|
||||
@ldap_close($ldap_connection);
|
||||
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user