On 21/08/2008, at 07.00, Jason Kuri wrote:
Thanks for the patch, but I think you are misunderstanding the use of id_field.
Looks like it... I thought id_field worked the same way as 'password_field'.
Your $c->authenticate({ ... } ) call should contain the fields youwant to query on. So if your username field is 'user' then you want to call:$c->authenticate({ user => $c->req->params->{'login'}, ... });
Wouldn't it be neat to have the username field configurable, just like 'password_field' ? That way you can exchange credential store without changing any code at all. -- Best regards, David Jack Olrik <[EMAIL PROTECTED]> 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"] _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
