mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 13:22:28 +00:00
Fix initial account setup email
This commit is contained in:
parent
91313074de
commit
400d45389c
2 changed files with 2 additions and 4 deletions
|
@ -105,7 +105,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.";
|
|||
$"If this was you, your {ServerConfiguration.Instance.Customization.ServerName} password can be set at the following link:\n" +
|
||||
$"{ServerConfiguration.Instance.ExternalUrl}/passwordReset?token={resetToken.ResetToken}";
|
||||
|
||||
SMTPHelper.SendEmail(user.EmailAddress, $"Project Lighthouse Password Setup Request for {user.Username}", messageBody);
|
||||
SMTPHelper.SendEmail(email, $"Project Lighthouse Password Setup Request for {user.Username}", messageBody);
|
||||
|
||||
this.database.PasswordResetTokens.Add(resetToken);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue