Multiple Auth mechanisms

Archived from the Xataface Users forum.

cantlep — Thu Sep 30, 2010 4:48 am

Hi there,

Is there something I could write in applicationdelegate.php to say. if username = whatever then the auth method is LDAP, else use the database Users table ?

Thanks

Paul


shannah — Wed Oct 06, 2010 10:48 am

1.2.5 introduced the before_authenticate hook that allows you to do some stuff before the authentication step.
http://xataface.com/wiki/before_authenticate