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
b7e4d09e
Commit
b7e4d09e
authored
Sep 22, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send "setup for company" in trial form to CustomersDot
Changelog: added
parent
f6093ed9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
ee/app/controllers/registrations/groups_controller.rb
ee/app/controllers/registrations/groups_controller.rb
+1
-0
ee/app/controllers/trials_controller.rb
ee/app/controllers/trials_controller.rb
+1
-0
ee/spec/controllers/registrations/groups_controller_spec.rb
ee/spec/controllers/registrations/groups_controller_spec.rb
+1
-0
ee/spec/controllers/trials_controller_spec.rb
ee/spec/controllers/trials_controller_spec.rb
+1
-0
No files found.
ee/app/controllers/registrations/groups_controller.rb
View file @
b7e4d09e
...
...
@@ -95,6 +95,7 @@ module Registrations
first_name:
current_user
.
first_name
,
last_name:
current_user
.
last_name
,
uid:
current_user
.
id
,
setup_for_company:
current_user
.
setup_for_company
,
skip_email_confirmation:
true
,
gitlab_com_trial:
true
,
provider:
'gitlab'
,
...
...
ee/app/controllers/trials_controller.rb
View file @
b7e4d09e
...
...
@@ -92,6 +92,7 @@ class TrialsController < ApplicationController
attrs
=
{}
attrs
[
:work_email
]
=
current_user
.
email
attrs
[
:uid
]
=
current_user
.
id
attrs
[
:setup_for_company
]
=
current_user
.
setup_for_company
attrs
[
:skip_email_confirmation
]
=
true
attrs
[
:gitlab_com_trial
]
=
true
attrs
[
:provider
]
=
'gitlab'
...
...
ee/spec/controllers/registrations/groups_controller_spec.rb
View file @
b7e4d09e
...
...
@@ -135,6 +135,7 @@ RSpec.describe Registrations::GroupsController do
first_name:
user
.
first_name
,
last_name:
user
.
last_name
,
uid:
user
.
id
,
setup_for_company:
nil
,
skip_email_confirmation:
true
,
gitlab_com_trial:
true
,
provider:
'gitlab'
,
...
...
ee/spec/controllers/trials_controller_spec.rb
View file @
b7e4d09e
...
...
@@ -179,6 +179,7 @@ RSpec.describe TrialsController do
{
work_email:
user
.
email
,
uid:
user
.
id
,
setup_for_company:
nil
,
skip_email_confirmation:
true
,
gitlab_com_trial:
true
,
provider:
'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