fix(auth): exclude returnTo from passport reset
We patch passport with the code from https://github .com/jaredhanson/passport/pull/941, which excludes session.returnTo from reset on login. Fixes https://github.com/hedgedoc/hedgedoc/issues/4466 Co-authored-by: Graham White <graham_alton@hotmail.com> Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
committed by
Philip Molares
parent
c5fa3bcfc4
commit
ef7373f744
@@ -71,7 +71,7 @@
|
||||
"morgan": "1.10.0",
|
||||
"mysql2": "3.11.0",
|
||||
"node-fetch": "2.7.0",
|
||||
"passport": "0.7.0",
|
||||
"passport": "patch:passport@npm%3A0.7.0#~/.yarn/patches/passport-npm-0.7.0-df02531736.patch",
|
||||
"passport-dropbox-oauth2": "1.1.0",
|
||||
"passport-facebook": "3.0.0",
|
||||
"passport-github": "1.1.0",
|
||||
|
||||
Reference in New Issue
Block a user