mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
d0042b550a
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. |
||
---|---|---|
.. | ||
member.js | ||
router.js | ||
well-known.js |