Closed imkarthikk closed 8 years ago
Have you changed the default authentication key in config/initializers/devise.rb
? It should look like this:
Devise.setup do |config|
....
config.authentication_keys = [:username]
....
end
In your screen shots it looks like you are using a username but the default for this gem is :email
.
I've been stuck at this for about 15 hours. It's on the verge of throwing my laptop. The weird issue is, the LDAP search/listing works PERFECTLY. It binds with the username and password I've given and shows all the users who have that attribute (eg, CN, UID, sAMAaccountName). However when I try to login, it shows:
This is how I listed all the users,
ANY help would be immensely appreciated!