0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Disabled auto-login when a success url is provided

refs https://github.com/TryGhost/Team/issues/1067

The auto-login behaviour obliterates the concept of a success URL,
because the Member is redirected in a logged in state, to the welcome
URL - rather than a logged out state to the success URL.

In order to not disrupt existing flows, we disable auto login if a
success URL is provided.
This commit is contained in:
Fabien O'Carroll 2021-11-05 10:24:02 +02:00
parent 6435dec938
commit 72b90151bb
2 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@
"@tryghost/limit-service": "1.0.0",
"@tryghost/logging": "1.0.0",
"@tryghost/magic-link": "1.0.14",
"@tryghost/members-api": "2.7.1",
"@tryghost/members-api": "2.7.2",
"@tryghost/members-csv": "1.1.8",
"@tryghost/members-importer": "0.3.4",
"@tryghost/members-offers": "0.10.1",

View file

@ -1567,10 +1567,10 @@
"@tryghost/domain-events" "^0.1.3"
"@tryghost/member-events" "^0.3.1"
"@tryghost/members-api@2.7.1":
version "2.7.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.7.1.tgz#f1f10747c80c97830825ee16a4e5f5d1b9eaf866"
integrity sha512-xkz6GEOh8wmJY7oe2vj1SvtF+rBFBhinY0DmaMsCZYTBo2Lr0rTHcQKimba/xSlW0Ba/tosSyIVVwOmYNqY7sg==
"@tryghost/members-api@2.7.2":
version "2.7.2"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.7.2.tgz#0402f71458762e333b0ac70b9664aafa1ed1e735"
integrity sha512-wlKfJ6RDClCOeWV2PSPt1PjYDgT+JDqaPGTDuN7+xnizynvm4g7xbTc975OJ63XyerwWu9x45upNgPoxny4+8A==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/domain-events" "^0.1.3"