Jorge Falcão
Results
2
comments of
Jorge Falcão
It's because Net::LDAP::Entry.new[:email] returns [] and not a nil value. And [] it's true try:[] ? "true" : "false" It's ok to use [].present? - see my patch on LDAP.map_user...
Or take a look: https://github.com/intridea/omniauth-ldap/pull/17