0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services/members
Fabien 'egg' O'Carroll 7c5a3bb537
Updated magic links to use shorter, single us, longer lived tokens (#12218)
no-issue

* Added SingleUseTokenProvider to members service

This implements the TokenProvider interface required by members-api to
generate magic links. It handles checking if the token is expired and
pulls out any associated data.

Future improvments may include the email in the error for expired
tokens, which would make resending a token simpler.

* Passed SingleUseTokenProvider to members-api

This sets up the members-api module to use the new single use tokens

* Installed @tryghost/members-api@0.30.0

This includes the change to allow us to pass a token provider to the members-api
2020-09-18 17:32:18 +01:00
..
emails Fixed email copy for update email template 2020-06-11 18:19:53 +05:30
importer 🐛 Fixed table constraint error when updating member's email with an already existing email (#12178) 2020-09-10 16:03:57 +12:00
api.js Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
config.js Fixed missing domain for default support address 2020-09-03 16:34:47 +05:30
content-gating.js Added content-gating module to members service 2019-11-05 12:53:14 +07:00
index.js Added handling for new members support/reply email addresses 2020-08-31 18:09:38 +05:30
limit.js Switched to bookshelf count in getTotalMembers() 2020-08-27 01:52:36 +01:00
middleware.js Added blog domain for default support address 2020-09-17 12:33:16 +05:30
settings.js Updated ownership verification email flow to use different From address 2020-09-17 19:52:51 +05:30
SingleUseTokenProvider.js Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
stripe-connect.js Encoded the mode in the Stripe Connect OAuth state 2020-06-10 14:06:57 +02:00
utils.js Added member update endpoint with session auth (#11824) 2020-05-20 14:37:58 +05:30