intridea/omniauth-ldap — pull request #17 by syndicut (2012-07-03 22:19:24+00:00)
Title: Map userinfo fix

Net::LDAP::Entry (http://net-ldap.rubyforge.org/Net/LDAP/Entry.html) returns empty array if key does not
exists, so object[:some_symbol] always returned true, which could cause empty fields in userinfo if field had some other name, than the first in mapping array ('email' => 'mail', for example).