Commit 369df86e authored by randx's avatar randx

Remove GITLAB_OPTS, fixed ldap user creation

parent 7f207d4a
...@@ -91,7 +91,7 @@ class User < ActiveRecord::Base ...@@ -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
......
GITLAB_OPTS = YAML.load_file("#{Rails.root}/config/gitlab.yml")["gitlab"]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment