[Catalyst] Patch for Catalyst::Authentication::Store::DBIx::Class::User

David Jack Wange Olrik david at olrik.dk
Tue Aug 19 13:34:10 BST 2008


When specifying a 'id_field' in the config file as stated in the
documentation it is not used instead of 'username' when looking up
the user.

This means that the select that looks up the user returns a random
user from the database as it has no where clause.

This patch fixed that issue.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: User.pm.patch
Type: application/octet-stream
Size: 941 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080819/6238a91c/User.pm.obj
-------------- next part --------------

Best regards,
David Jack Olrik <david at olrik.dk>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]

More information about the Catalyst mailing list