summaryrefslogtreecommitdiff
path: root/lib/web/auth/openid
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/web/auth/openid/index.js2
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)
})