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'
               )
             )
           {

-Tim


...snip...
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to