r27888@omni (orig r10886): t0m | 2009-07-15 11:04:29 +0100
Clean up
$self->roles($ldap);
}
# Stash a closure which can be used to retrieve the connection in the users context later.
- $self->_ldap_connection( sub { $self->store->ldap_bind( undef, $self->ldap_entry->dn, $password ) } );
+ $self->_ldap_connection( sub {
+ $self->store->ldap_bind( undef, $self->ldap_entry->dn, $password )
+ });
return 1;
}
else {