[Catalyst] Using Progressive realms when username and password fields are all different

Gavin Henry gavin.henry at gmail.com
Thu Jun 28 22:12:01 GMT 2012


On 28 June 2012 23:08, Tim Anderson <tja824 at gmail.com> wrote:
> 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 => $username,
>                        passwd => $password
>                    },
>                    'progressive_oauth'
>                )
>              )
>            {
>

Thanks Tim. Yes, I know that but then the other two realms will fail
and that's the point of progressive. I want to call one ->authenticate
which tries all the realms I've defined in progressive_oauth.

Gavin.

-- 
http://www.suretecsystems.com/services/openldap/
http://www.surevoip.co.uk



More information about the Catalyst mailing list