mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Remove GITLAB_OPTS, fixed ldap user creation
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ class User < ActiveRecord::Base
|
||||
:email => email,
|
||||
:password => password,
|
||||
:password_confirmation => password,
|
||||
:projects_limit => GITLAB_OPTS["default_projects_limit"]
|
||||
:projects_limit => Gitlab.config.default_projects_limit
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
GITLAB_OPTS = YAML.load_file("#{Rails.root}/config/gitlab.yml")["gitlab"]
|
||||
Reference in New Issue
Block a user