diff options
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r-- | app/helpers/auth_helper.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb index e2e89c9abca..58d647c41b1 100644 --- a/app/helpers/auth_helper.rb +++ b/app/helpers/auth_helper.rb @@ -45,9 +45,11 @@ module AuthHelper provider_has_builtin_icon?(name) || provider_has_custom_icon?(name) end - def qa_class_for_provider(provider) + def qa_selector_for_provider(provider) { - saml: 'qa-saml-login-button' + saml: 'saml_login_button', + openid_connect: 'oidc_login_button', + github: 'github_login_button' }[provider.to_sym] end |