[Catalyst] Using Progressive realms when username and password
fields are all different
Tim Anderson
tja824 at gmail.com
Thu Jun 28 22:08:46 GMT 2012
That keys in the hash reference you are passing to the authenticate
function should match the keys in your CcAgent model, plus the password
field you defined in your config... something like this:
# Attempt to log the user in
if (
$c->authenticate(
{
login =3D> $username,
passwd =3D> $password
},
'progressive_oauth'
)
)
{
-Tim
...snip...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120628/1848f=
172/attachment.htm
More information about the Catalyst
mailing list