Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Game Server Go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Akamu
Game Server Go
Commits
c4936092
Commit
c4936092
authored
Oct 27, 2020
by
Julien Schröter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show actual username as receiver name when sending email confirmation
parent
96a85ce9
Pipeline
#2259
failed with stage
in 2 minutes and 3 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
endpoint/user/endpoint.go
endpoint/user/endpoint.go
+1
-1
No files found.
endpoint/user/endpoint.go
View file @
c4936092
...
...
@@ -493,7 +493,7 @@ func sendRegistrationVerification(tokenFactory otp.TokenFactory, templatemail *s
}
// Send email
if
err
=
templatemail
.
Send
(
mail
.
Address
{
Name
:
"username"
,
Address
:
email
},
struct
{
if
err
=
templatemail
.
Send
(
mail
.
Address
{
Name
:
username
,
Address
:
email
},
struct
{
Username
string
Token
string
}{
...
...
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