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"