mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue