summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/auth_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb
index 3e1f4209254..b05fa0a14d6 100644
--- a/app/helpers/auth_helper.rb
+++ b/app/helpers/auth_helper.rb
@@ -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)