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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
84dd5610
Commit
84dd5610
authored
Aug 08, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fail if overridden CE methods are renamed
parent
172f253a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ee/app/controllers/ee/registrations_controller.rb
ee/app/controllers/ee/registrations_controller.rb
+2
-0
ee/app/services/ee/system_hooks_service.rb
ee/app/services/ee/system_hooks_service.rb
+2
-0
No files found.
ee/app/controllers/ee/registrations_controller.rb
View file @
84dd5610
...
...
@@ -5,6 +5,8 @@ module EE
private
def
sign_up_params
raise
NotImplementedError
unless
defined?
(
super
)
clean_params
=
params
.
require
(
:user
).
permit
(
:username
,
:email
,
:email_confirmation
,
:name
,
:password
,
:email_opted_in
)
if
clean_params
[
:email_opted_in
]
==
'1'
...
...
ee/app/services/ee/system_hooks_service.rb
View file @
84dd5610
...
...
@@ -5,6 +5,8 @@ module EE
private
def
user_data
(
model
)
raise
NotImplementedError
unless
defined?
(
super
)
data
=
{
name:
model
.
name
,
email:
model
.
email
,
...
...
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