Also it makes sense to `return false unless Gitlab.config.ldap.enabled` before ldap_auth call. 
It makes more sense then call ldap method and check for ldap enabled there