0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/services/members
Rishabh 24b2a82461 Updated session API status code for logged out member
refs https://github.com/TryGhost/Team/issues/560
refs 69b773d112

The endpoint `/members/api/session/` is used by Portal for fetching member session while setting up and redirecting to Stripe Checkout flow. The status code returned by API for logged out member is changed from 4xx Unauthorized to 204 No Content, which is consistent with the status code returned while fetching member data when logged out. This API is made just before initiating the checkout session, and is not noticable in most cases due to redirect to Stripe Checkout and got missed.
2021-07-30 10:34:51 +05:30
..
emails
importer Integrated @tryghost/members-importer 2021-07-21 19:34:30 +04:00
stats
api.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
config.js Replaced usage of Error with @tryghost/errors (#13161) 2021-07-19 11:46:38 +01:00
content-gating.js Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
index.js Renamed index.js -> service.js for lint reasons 2021-05-20 12:08:45 +01:00
middleware.js Updated session API status code for logged out member 2021-07-30 10:34:51 +05:30
service.js Added an escalation email when import triggers a limit 2021-07-29 20:30:30 +12:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
SingleUseTokenProvider.js
stripe-connect.js Replaced usage of Error with @tryghost/errors (#13161) 2021-07-19 11:46:38 +01:00
utils.js