mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Call callback function after sending mail
Call callback function after successfully or unsuccessfully sending the activation mail. Fixes #988
This commit is contained in:
@@ -131,10 +131,9 @@ const UserRegistrationHandler = {
|
||||
if (error) {
|
||||
logger.warn({ err: error }, 'failed to send activation email')
|
||||
}
|
||||
callback(null, user, setNewPasswordUrl)
|
||||
}
|
||||
)
|
||||
|
||||
callback(null, user, setNewPasswordUrl)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user