Skip Menu |

This queue is for tickets about the Catalyst-Authentication-Store-DBIx-Class CPAN distribution.

Report information
The Basics
Id: 79339
Status: new
Priority: 0/
Queue: Catalyst-Authentication-Store-DBIx-Class

Owner: Nobody in particular
Requestors: mitakaa [...]

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

Subject: use_userdata_from_session => 1 and PasshpraseColumn rejects valid password
Download (untitled) / with headers
text/plain 787b
Hello, I have use_userdata_from_session => 1 in my config file and my model looks like: __PACKAGE__->add_columns( '+password' => { passphrase => 'crypt', passphrase_class => 'BlowfishCrypt', passphrase_args => { cost => 12, salt_random => 20, }, passphrase_check_method => 'check_password', }, ); I have a form which the user could change his password and I ask for the old password before changing it. However checking $c->user->obj- Show quoted text
>check_password('pass') returns always false.
I've tried to retrieve the user first by: my $user = $c- Show quoted text
>model('DB::User')->find($c->user->obj->id) and after that calling
$user->check_password('pass') returns true. I'll try to add failing test to that. Cheers

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to