Ghost/core/server
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
..
adapters Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
api Updated getMagicLink call to handle Promise return 2020-09-18 10:49:18 +01:00
data Updated the tokens table to have 32 char tokens 2020-09-17 17:33:43 +01:00
lib Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
models Added SingleUseToken model (#12215) 2020-09-18 15:05:56 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
translations Removed unused messages from i18n file 2020-09-16 15:46:22 +12:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Added handling for new members support/reply email addresses 2020-08-31 18:09:38 +05:30
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Improved testmode logging of shutdown status 2020-08-18 15:48:42 +01:00
index.js Added routes.yaml content checksum storage to the db 2020-09-10 10:54:57 +12:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00