mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Used the paid signup email when auto login is enabled
refs https://github.com/TryGhost/Team/issues/1067 refs https://github.com/TryGhost/Ghost/commit/579b3443 This will eventually be the only type of email sent from this function, but for now is behind a feature flag for testing.
This commit is contained in:
parent
985fd5bb5e
commit
cef8cadd21
@ -148,6 +148,9 @@ module.exports = function MembersAPI({
|
||||
*/
|
||||
async sendSignupEmail(email) {
|
||||
let requestedType = 'signup';
|
||||
if (labsService.isSet('membersAutoLogin')) {
|
||||
requestedType = 'signup-paid';
|
||||
}
|
||||
await sendEmailWithMagicLink({
|
||||
email,
|
||||
requestedType,
|
||||
|
Loading…
Reference in New Issue
Block a user