devise_ldap_authenticatable icon indicating copy to clipboard operation
devise_ldap_authenticatable copied to clipboard

Error when authenticating

Open frankapimenta opened this issue 11 years ago • 2 comments

NoMethodError (undefined method to' for nil:NilClass): devise_ldap_authenticatable (0.8.1) lib/devise_ldap_authenticatable/model.rb:21:inlogin_with' devise_ldap_authenticatable (0.8.1) lib/devise_ldap_authenticatable/model.rb:48:in `valid_ldap_authentication?'

is it an issue or something is missing? I follow the tutorial thourougly

i'm using this gem within an engine. It fails when asking for Devise.mappings..is there a special configuration for it?

frankapimenta avatar Apr 25 '14 12:04 frankapimenta

I also have this issue, same error. I'm also using it within an engine.

abortu avatar Jan 06 '15 01:01 abortu

@abortu this was fixes with pull request (https://github.com/cschiewek/devise_ldap_authenticatable/pull/164)

frankapimenta avatar Mar 18 '15 13:03 frankapimenta