Ghost/ghost/members-api
Simon Backx d0042b550a
Fixed redirecting back to account home after sign in in Portal (#16487)
refs https://github.com/TryGhost/Team/issues/2674

When going to /#/portal/account when not signed in, you are redirected
to the login page. But once signed in, you aren't redirected back to the
account page. This fixes this issue by adding an extra and optional
redirect parameter when requesting a magic token via email.

This new parameter allows to override the default behaviour of using the
Referer HTTP header, which doesn't include the hash/fragment part of the
URL.

The referrer is already restricted to only allow redirects to the site,
not external URLs.
2023-04-04 18:07:37 +02:00
..
lib Fixed redirecting back to account home after sign in in Portal (#16487) 2023-04-04 18:07:37 +02:00
test removed require should 2023-03-08 16:50:03 -06:00
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
index.js Fixed index.js require 2021-07-15 18:06:45 +01:00
package.json Update Test & linting packages 2023-03-13 02:36:20 +00:00