+1.009 xxx
+ - Fix pod for get_user() and from_session() in Backend.pm, adding
+ the missing $c param. Pass $c in from_session() through to get_user().
+ Reported in https://rt.cpan.org/Ticket/Display.html?id=56983 with
+ patch from Bjørn-Olav Strand.
+
1.008 02 April 2010
- Allow for multiple uid values on a User object. See RT
https://rt.cpan.org/Ticket/Display.html?id=51505
use strict;
use warnings;
-our $VERSION = '1.008';
+our $VERSION = '1.009';
use Catalyst::Authentication::Store::LDAP::User;
use Net::LDAP;
return $self->get_user( $authinfo->{id} || $authinfo->{username}, $c );
}
-=head2 get_user($id)
+=head2 get_user( I<id>, $c)
Creates a L<Catalyst::Authentication::Store::LDAP::User> object
for the given User ID, or calls C<new> on the class specified in
Catalyst::Authentication::Store::LDAP::User->supports(@_);
}
-=head2 from_session( I<id> )
+=head2 from_session( I<id>, I<$c> )
Returns get_user() for I<id>.
sub from_session {
my ( $self, $c, $id ) = @_;
- $self->get_user($id);
+ $self->get_user($id, $c);
}
1;