Remove GITLAB_OPTS, fixed ldap user creation
This commit is contained in:
parent
7f207d4a87
commit
369df86e71
2 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,7 @@ class User < ActiveRecord::Base
|
||||||
:email => email,
|
:email => email,
|
||||||
:password => password,
|
:password => password,
|
||||||
:password_confirmation => password,
|
:password_confirmation => password,
|
||||||
:projects_limit => GITLAB_OPTS["default_projects_limit"]
|
:projects_limit => Gitlab.config.default_projects_limit
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
GITLAB_OPTS = YAML.load_file("#{Rails.root}/config/gitlab.yml")["gitlab"]
|
|
Loading…
Reference in a new issue