mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Merge branch 'release/2.3.0' into develop
This commit is contained in:
commit
ec903c010e
22 changed files with 141 additions and 112 deletions
|
@ -111,8 +111,9 @@ async function sendVerifyUserEmail (user: MUser, isPendingEmail = false) {
|
|||
if (isPendingEmail) url += '&isPendingEmail=true'
|
||||
|
||||
const email = isPendingEmail ? user.pendingEmail : user.email
|
||||
const username = user.username
|
||||
|
||||
await Emailer.Instance.addVerifyEmailJob(email, url)
|
||||
await Emailer.Instance.addVerifyEmailJob(username, email, url)
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue