On 28 June 2012 23:12, Gavin Henry <[email protected]> wrote:
...
> 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.

Regrettably, the docs for the Password realm saith:

    NOTE If the password_field is something other than 'password', you
must be sure to use that same field name when calling
$c->authenticate().

I'd call that a bug, personally - it certainly isn't intuitive that
you can specify the field to use, but then have to remember it in all
your calls to authenticate().

Not much can be done about that, though. Maybe someone can produce an adaptor?

_______________________________________________
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/

Reply via email to