You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file lib/devise_ldap_authenticatable/ldap/connection.rb:213, method has_required_attribute_presence?
@required_attributes_presence.eachdo |key,val|
ifval && !user.attribute_names.include?(key.to_sym)DeviseLdapAuthenticatable::Logger.send("User #{dn} doesn't include attribute #{key}")returnfalseelsif !val && user.attribute_names.include?(key.to_sym)# <= This looks like a wrong logic, run the method always get false.DeviseLdapAuthenticatable::Logger.send("User #{dn} includes attribute #{key}")returnfalseendend
The text was updated successfully, but these errors were encountered:
In file
lib/devise_ldap_authenticatable/ldap/connection.rb:213
, methodhas_required_attribute_presence?
The text was updated successfully, but these errors were encountered: