Skip to content
Snippets Groups Projects
Commit 7823dd53 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Use new hash syntax.

parent 3e06f40b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -47,16 +47,21 @@ class GitLabAuthenticator < ::Auth::Authenticator
omniauth.provider :gitlab,
GITLAB_APP_ID,
GITLAB_SECRET,
{ client_options: {site: ENV['GITLAB_SITE_URL'], }}
{
client_options:
{
site: ENV['GITLAB_SITE_URL'],
}
}
end
end
 
 
auth_provider :title => 'with GitLab',
:message => 'Log in via GitLab (Make sure pop up blockers are not enabled).',
:frame_width => 920,
:frame_height => 800,
:authenticator => GitLabAuthenticator.new
auth_provider title: 'with GitLab',
message: 'Log in via GitLab (Make sure pop up blockers are not enabled).',
frame_width: 920,
frame_height: 800,
authenticator: GitLabAuthenticator.new
 
 
# We ship with zocial, it may have an icon you like http://zocial.smcllns.com/sample.html
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment