Commit 2600e80b412a6e7256fe1f4e3ca32cc5d410b449
1 parent
bb7dde0d
Exists in
master
and in
4 other branches
Look for 'gitolite_admin_uri' in the right section
of 'gitlab.yml'. gitlabhq\config\initializers\1_settings.rb looks for 'gitolite_admin_uri' in the 'git' section of 'gitlab.yml' Actually, that setting is in the 'git_host' section. If not fixed, the 'gitolite_admin_uri' would always be equals to 'git@localhost:gitolite-admin', even if the administrator wants to have another user than 'git' in charge of that repo.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/initializers/1_settings.rb
| @@ -95,7 +95,7 @@ class Settings < Settingslogic | @@ -95,7 +95,7 @@ class Settings < Settingslogic | ||
| 95 | end | 95 | end |
| 96 | 96 | ||
| 97 | def gitolite_admin_uri | 97 | def gitolite_admin_uri |
| 98 | - git['admin_uri'] || 'git@localhost:gitolite-admin' | 98 | + git_host['admin_uri'] || 'git@localhost:gitolite-admin' |
| 99 | end | 99 | end |
| 100 | 100 | ||
| 101 | def default_projects_limit | 101 | def default_projects_limit |