mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +00:00
[skip ci] Adjust email verification body text
This commit is contained in:
parent
9e09815622
commit
f92ff79b49
1 changed files with 3 additions and 2 deletions
|
@ -46,8 +46,9 @@ public class SendVerificationEmailPage : BaseLayout
|
||||||
await this.Database.SaveChangesAsync();
|
await this.Database.SaveChangesAsync();
|
||||||
|
|
||||||
string body = "Hello,\n\n" +
|
string body = "Hello,\n\n" +
|
||||||
$"A request to verify this email for your Project Lighthouse account ({user.Username}).\n\n" +
|
$"This email is a request to verify this email for your (likely new!) Project Lighthouse account ({user.Username}).\n\n" +
|
||||||
$"To verify your account, click this link: {ServerSettings.Instance.ExternalUrl}/verifyEmail?token={verifyToken.EmailToken}";
|
$"To verify your account, click the following link: {ServerSettings.Instance.ExternalUrl}/verifyEmail?token={verifyToken.EmailToken}\n\n\n" +
|
||||||
|
"If this wasn't you, feel free to ignore this email.";
|
||||||
|
|
||||||
if (SMTPHelper.SendEmail(user.EmailAddress, "Project Lighthouse Email Verification", body))
|
if (SMTPHelper.SendEmail(user.EmailAddress, "Project Lighthouse Email Verification", body))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue