Skip Menu |

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

Report information
The Basics
Id: 30506
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Authentication

People
Owner: Nobody in particular
Requestors: tedkat [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Problem with Credential::Password::check_password
using Version "0.10002" in ::Credential::Password I get a warning of Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Authentication/Credential/Password.pm line 78. Drilling down with `perl -d scripts/xxx_server.pl` shows 60: my $password = $authinfo->{$self->_config->{'password_field'}}; In my case the password field is named 'passwd' which can't work. Should the line be my $password = $authinfo->{'password'}; Or am I way off base? Thanks in advance.
Subject: xxx.yml
--- name: "XXX" authentication: default_realm: "student" realms: student: credential: class : "Password" password_field : "passwd" password_type : "hashed" password_hash_type : "SHA-1" store: class : "DBIx::Class" user_class : "Login" id_field : "login"
From: tedkat [...] gmail.com
User Error on my part. Can there be something in the Pod of C::P::Authentication that states when using $c->authenticate that the hash keys passed matches whats defined in the config. On Mon Nov 05 17:00:35 2007, dax wrote: Show quoted text
> using Version "0.10002" > > in ::Credential::Password > > I get a warning of > > Use of uninitialized value in subroutine entry at >
/usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Authentication/Credential/Password.pm Show quoted text
> line 78. > > Drilling down with `perl -d scripts/xxx_server.pl` shows > > 60: my $password = $authinfo->{$self->_config-
> >{'password_field'}};
> > In my case the password field is named 'passwd' which can't work. > > Should the line be > my $password = $authinfo->{'password'}; > > Or am I way off base? > > Thanks in advance.
Note added in svn revision 7510.