Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r--app/helpers/auth_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb
index 0ee08ba1820..0feaee2bd93 100644
--- a/app/helpers/auth_helper.rb
+++ b/app/helpers/auth_helper.rb
@@ -16,6 +16,7 @@ module AuthHelper
jwt
openid_connect
salesforce
+ shibboleth
twitter
).freeze
LDAP_PROVIDER = /\Aldap/.freeze
@@ -51,7 +52,8 @@ module AuthHelper
{
saml: 'saml_login_button',
openid_connect: 'oidc_login_button',
- github: 'github_login_button'
+ github: 'github_login_button',
+ gitlab: 'gitlab_oauth_login_button'
}[provider.to_sym]
end