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
efb4ed2d
Commit
efb4ed2d
authored
Feb 11, 2020
by
Alex Buijs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove leftover from earlier iteration
parent
fcc2bdb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
+0
-2
No files found.
app/controllers/registrations_controller.rb
View file @
efb4ed2d
...
...
@@ -55,8 +55,6 @@ class RegistrationsController < Devise::RegistrationsController
def
welcome
return
redirect_to
new_user_registration_path
unless
current_user
return
redirect_to
stored_location_or_dashboard
(
current_user
)
if
current_user
.
role
.
present?
&&
!
current_user
.
setup_for_company
.
nil?
current_user
.
name
=
nil
if
current_user
.
name
==
current_user
.
username
end
def
update_registration
...
...
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