diff options
author | Ralph Krimmel | 2019-11-28 12:25:59 +0100 |
---|---|---|
committer | Ralph Krimmel | 2019-11-28 12:25:59 +0100 |
commit | 3fb3ca54e9c038ad091d234b19f5bd64003f8321 (patch) | |
tree | b05f7f12df9d4f0be0103d801baf47ab39c76c60 /lib/web/auth/openid | |
parent | e0a88727423dfdb24e09f4e7e69cae718a7de127 (diff) |
Removing returnTo setting from referer in all other authentication sources
Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
Diffstat (limited to 'lib/web/auth/openid')
-rw-r--r-- | lib/web/auth/openid/index.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/web/auth/openid/index.js b/lib/web/auth/openid/index.js index b0a28bec..28e164f5 100644 --- a/lib/web/auth/openid/index.js +++ b/lib/web/auth/openid/index.js @@ -7,7 +7,6 @@ const config = require('../../../config') const models = require('../../../models') const logger = require('../../../logger') const { urlencodedParser } = require('../../utils') -const { setReturnToFromReferer } = require('../utils') let openIDAuth = module.exports = Router() @@ -48,7 +47,6 @@ passport.use(new OpenIDStrategy({ })) openIDAuth.post('/auth/openid', urlencodedParser, function (req, res, next) { - setReturnToFromReferer(req) passport.authenticate('openid')(req, res, next) }) |