diff options
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r-- | app/helpers/auth_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb index cc43ea85a11..0b79d4c36a1 100644 --- a/app/helpers/auth_helper.rb +++ b/app/helpers/auth_helper.rb @@ -113,6 +113,10 @@ module AuthHelper end end + def experiment_enabled_button_based_providers + enabled_button_based_providers & %w(google_oauth2 github).freeze + end + def button_based_providers_enabled? enabled_button_based_providers.any? end |