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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
369df86e
Commit
369df86e
authored
Jul 05, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove GITLAB_OPTS, fixed ldap user creation
parent
7f207d4a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app/models/user.rb
app/models/user.rb
+1
-1
config/initializers/0_before_all.rb
config/initializers/0_before_all.rb
+0
-1
No files found.
app/models/user.rb
View file @
369df86e
...
@@ -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
=>
G
ITLAB_OPTS
[
"default_projects_limit"
]
:projects_limit
=>
G
itlab
.
config
.
default_projects_limit
)
)
end
end
end
end
...
...
config/initializers/0_before_all.rb
deleted
100644 → 0
View file @
7f207d4a
GITLAB_OPTS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/gitlab.yml"
)[
"gitlab"
]
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