There's no need to get the user record

This commit is contained in:
Jeroen van Meeuwen (Kolab Systems) 2013-08-05 11:18:29 +01:00
parent 3d96d74298
commit a6ee501a68

View file

@ -114,14 +114,6 @@ class kolab_auth extends rcube_plugin
return $args; return $args;
} }
// Find user record in LDAP
$record = $ldap->get_user_record($user, $host);
if (empty($record)) {
$args['abort'] = true;
return $args;
}
foreach ($role_plugins as $role_dn => $plugins) { foreach ($role_plugins as $role_dn => $plugins) {
$role_plugins[$ldap->parse_vars($role_dn)] => $plugins; $role_plugins[$ldap->parse_vars($role_dn)] => $plugins;
} }