Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7f1003a1
Commit
7f1003a1
authored
Jul 14, 2016
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically add kerberos_spnego omniauth
parent
11a3aae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+4
-0
No files found.
config/initializers/1_settings.rb
View file @
7f1003a1
...
...
@@ -436,6 +436,10 @@ Settings.kerberos['use_dedicated_port'] = false if Settings.kerberos['use_dedica
Settings
.
kerberos
[
'https'
]
=
Settings
.
gitlab
.
https
if
Settings
.
kerberos
[
'https'
].
nil?
Settings
.
kerberos
[
'port'
]
||=
Settings
.
kerberos
.
https
?
8443
:
8088
if
Settings
.
kerberos
[
'enabled'
]
&&
!
Settings
.
omniauth
.
providers
.
map
(
&
:name
).
include?
(
'kerberos_spnego'
)
Settings
.
omniauth
.
providers
<<
Settingslogic
.
new
({
'name'
=>
'kerberos_spnego'
})
end
#
# Extra customization
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment