Check if any social providers are enabled.

This commit is contained in:
Jason Hollingsworth 2014-03-06 21:07:02 -06:00
parent c4d4481f4c
commit 9818775cad
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module ProfileHelper
end
def show_profile_social_tab?
Gitlab.config.omniauth.enabled && !current_user.ldap_user?
enabled_social_providers.any? && !current_user.ldap_user?
end
def show_profile_remove_tab?