Merge pull request #250 from andinus/fix-email-change-update
Send confirmation email to updated address
This commit is contained in:
commit
14786d3d49
1 changed files with 1 additions and 1 deletions
|
|
@ -774,7 +774,7 @@ proc updateProfile(
|
|||
raise newForumError("Rank needs a change when setting new email.")
|
||||
|
||||
await sendSecureEmail(
|
||||
mailer, ActivateEmail, c.req, row[0], row[1], row[2], row[3]
|
||||
mailer, ActivateEmail, c.req, row[0], row[1], email, row[3]
|
||||
)
|
||||
|
||||
validateEmail(email, checkDuplicated=wasEmailChanged)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue