gitlabhq/gitlabhq — pull request #1740 by godric7 (2012-10-19 21:47:51+00:00)
Title: Enable Oauth login for existing regular users

User were not searched by email on auth request as described in issue [#1620](https://github.com/gitlabhq/gitlabhq/issues/1620)

Code was borrowed from function __find_for_ldap_auth__ a few lines above.