Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id: 78115
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Authentication

People
Owner: Nobody in particular
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.10020
Fixed in: (no value)



Subject: No username_field in Credential::Password
Hi, Credential::Password not have a username_field like Credential::HTTP has and the rest of the Catalyst::Authentication::Credential::* namespace? e.g. The key name in the authinfo hash that the user's username is mapped into. This is useful for using a store which requires a specific unusual field name for the username. The username is additionally mapped onto the id key. Credential::HTTP has it right: my $user_obj = $realm->find_user( { $self->username_field => $username }, $c); $username should come in from ->authenticate( { username => $blah If username_field in config isn't empty, default to 'username'. This is because of: http://lists.scsys.co.uk/pipermail/catalyst/2012-June/028749.html Patch?