Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
corteza
corteza-server
Commits
a80e45e4
Commit
a80e45e4
authored
6 years ago
by
Denis Arh
Browse files
Options
Download
Email Patches
Plain Diff
Fix copy in auth notification emails
parent
42e456cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
system/internal/service/auth_notification.go
system/internal/service/auth_notification.go
+4
-8
No files found.
system/internal/service/auth_notification.go
View file @
a80e45e4
...
...
@@ -91,20 +91,16 @@ var (
"email-confirmation.en.html"
:
emailTemplateHeader
+
`<h2 style="color: #1397CB;text-align: center;">Confirm your email address</h2>
<p>Hello,</p>
<p>Here's a copy of your account details:</p>
<div style="margin-top:10px;padding: 20px;background: #F3F3F5">
<strong>Username:</strong> {{ .EmailAddress }}
<br>
<strong>Email confirmation link:</strong>
<a href="{{ .URL }}" style="color:#1397CB;">{{ .URL }}</a>
</div>`
+
<p>Follow <a href="{{ .URL }}" style="color:#1397CB;">this link</a> to confirm your email address.</p>
<p>You will be logged-in after successful confirmation.</p>`
+
emailTemplateFooter
,
"password-reset.en.subject"
:
`[Crust] Reset your password`
,
"password-reset.en.html"
:
emailTemplateHeader
+
`<h2 style="color: #1397CB;text-align: center;">Reset your password</h2>
<p>Hello,</p>
<p>Follow <a href="{{ .URL }}" style="color:#1397CB;">this link</a> and reset your password.</p>`
+
<p>Follow <a href="{{ .URL }}" style="color:#1397CB;">this link</a> and reset your password.</p>
<p>You will be logged-in after successful reset.</p>`
+
emailTemplateFooter
,
}
)
...
...
This diff is collapsed.
Click to expand it.
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