Skip to content
Snippets Groups Projects
Commit e87c96ee authored by Andrei Gliga's avatar Andrei Gliga
Browse files

enabled_button_based_providers.any? instead of ! empty? for button_based_providers_enabled?

parent 25ff3fd5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -45,7 +45,7 @@ module AuthHelper
end
 
def button_based_providers_enabled?
!enabled_button_based_providers.empty?
enabled_button_based_providers.any?
end
 
def provider_image_tag(provider, size = 64)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment