cschiewek / devise_ldap_authenticatable

Devise Module for LDAP
MIT License
594 stars 359 forks source link

LDAP and email auth #254

Open ljonny18 opened 5 years ago

ljonny18 commented 5 years ago

Is it possible to allow users to login using LDAP and/or Email?
E.g. can I use devise_ldap_authenricatable and devise together on the same model. If an email is entered then use Email authentication (using the user email attribute) otherwise authenticate via my LDAP server (using the user uid attribute)?

thanks Jon.