Commit e87c96ee authored by Andrei Gliga's avatar Andrei Gliga

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

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