[Catalyst-dev] Trouble using Authentication::Store::LDAP

Peter Flanigan pjf at roxsoft.co.uk
Wed Apr 10 12:17:03 GMT 2013


On 10/04/13 12:46, Jillian Rowe wrote:

> Here's is the MyApp.yml
> authentication:
>     default_realm: ldap
>     realms:
>         ldap:
>             credential:
>                 class: Password
>                 password_field: userPassword
> My controller Login.pm looks like this:
>         if ( $c->authenticate( { id => $user, password => $password } ) ) { 

If memory serves the password_field value should be password so that it
matches the user info key passed to the authenticate method

-- 

Regards



More information about the Catalyst-dev mailing list