0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/test
Fabien 'egg' O'Carroll e60806de45
Redirected Members to previous post/page upon sign-in
refs https://github.com/TryGhost/Team/issues/1174
refs https://github.com/TryGhost/Members/pull/408

When logged out members navigate a site and want to interact with, for example
comments, they are redirected to the homepage after sign-in with the magic link,
this is disorientating, and means they then need to navigate back to the content
they were interacting with.

This change means that sign-in's will be redirected to the page from which they 
were initiated, allowing a more streamlined flow for logged out members wanting
to add comments.

We've restricted the redirect to URI's which are on the same domain as the site,
and we also do a relative redirect, this is to ensure that a malicious actor does not
send magic links which redirect off-site and leak authentication details
2022-07-15 11:55:09 +01:00
..
e2e-api 🐛 Fixed 'comped' flag behavior in Member API (#15030) 2022-07-15 11:16:06 +01:00
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend Member Counter template helpers (#15013) 2022-07-14 10:10:02 +02:00
e2e-server 🐛 Fixed signing key identificaiton in JWKs 2022-05-24 12:20:30 +01:00
e2e-webhooks Updated webhook snapshots 2022-07-13 23:05:27 +12:00
integration Added comment CRUD+Moderate permissions 2022-07-08 15:46:11 +02:00
regression Added post tag assignment on user deletion 2022-07-13 03:06:04 +12:00
unit Redirected Members to previous post/page upon sign-in 2022-07-15 11:55:09 +01:00
utils Fixed comments fixtures being created in parallel 2022-07-12 15:59:55 +02:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00