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
Léo-Paul Géneau
gitlab-ce
Commits
aa5327a5
Commit
aa5327a5
authored
Mar 18, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project_limit being ignored on signup
parent
35139023
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
+9
-1
No files found.
app/controllers/registrations_controller.rb
View file @
aa5327a5
...
@@ -12,6 +12,14 @@ class RegistrationsController < Devise::RegistrationsController
...
@@ -12,6 +12,14 @@ class RegistrationsController < Devise::RegistrationsController
end
end
end
end
protected
def
build_resource
(
hash
=
nil
)
super
self
.
resource
.
projects_limit
=
Gitlab
.
config
.
gitlab
.
default_projects_limit
self
.
resource
end
private
private
def
signup_enabled?
def
signup_enabled?
...
...
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