[Catalyst-commits] r10886 -
Catalyst-Authentication-Store-LDAP/branches/better_model_integration/lib/Catalyst/Authentication/Store/LDAP
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Wed Jul 15 10:04:30 GMT 2009
Author: t0m
Date: 2009-07-15 10:04:29 +0000 (Wed, 15 Jul 2009)
New Revision: 10886
Modified:
Catalyst-Authentication-Store-LDAP/branches/better_model_integration/lib/Catalyst/Authentication/Store/LDAP/User.pm
Log:
Clean up
Modified: Catalyst-Authentication-Store-LDAP/branches/better_model_integration/lib/Catalyst/Authentication/Store/LDAP/User.pm
===================================================================
--- Catalyst-Authentication-Store-LDAP/branches/better_model_integration/lib/Catalyst/Authentication/Store/LDAP/User.pm 2009-07-15 02:09:07 UTC (rev 10885)
+++ Catalyst-Authentication-Store-LDAP/branches/better_model_integration/lib/Catalyst/Authentication/Store/LDAP/User.pm 2009-07-15 10:04:29 UTC (rev 10886)
@@ -145,7 +145,9 @@
$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 {
More information about the Catalyst-commits
mailing list