mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Updated getMagicLink usage
no-issue This updates the call to getMagicLink to correctly pass tokenData
This commit is contained in:
parent
7b63fd6862
commit
c0ac7b6b37
@ -119,7 +119,7 @@ module.exports = function MembersApi({
|
||||
}
|
||||
|
||||
function getMagicLink(email) {
|
||||
return magicLinkService.getMagicLink({email, subject: email, type: 'signin'});
|
||||
return magicLinkService.getMagicLink({tokenData: {email}, type: 'signin'});
|
||||
}
|
||||
|
||||
async function getMemberDataFromMagicLinkToken(token) {
|
||||
|
Loading…
Reference in New Issue
Block a user