From: Tomas Doran Date: Wed, 15 Jul 2009 10:04:29 +0000 (+0000) Subject: Clean up X-Git-Tag: v0.1006~7^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=460d3d6105da34d084598367f00c071ab6be0644;p=catagits%2FCatalyst-Authentication-Store-LDAP.git Clean up --- diff --git a/lib/Catalyst/Authentication/Store/LDAP/User.pm b/lib/Catalyst/Authentication/Store/LDAP/User.pm index 527ee47..ba18dab 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/User.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/User.pm @@ -145,7 +145,9 @@ sub check_password { $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 {