From 35a9f72a06dd1ed28f16161028b5407dd3511ac0 Mon Sep 17 00:00:00 2001 From: CloudYu Date: Tue, 27 Nov 2018 22:13:18 +0800 Subject: Fix typo Signed-off-by: CloudYu --- lib/web/auth/openid/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/web/auth/openid/index.js') diff --git a/lib/web/auth/openid/index.js b/lib/web/auth/openid/index.js index 96f61807..c45c6d71 100644 --- a/lib/web/auth/openid/index.js +++ b/lib/web/auth/openid/index.js @@ -55,7 +55,7 @@ openIDAuth.post('/auth/openid', urlencodedParser, function (req, res, next) { // openID auth callback openIDAuth.get('/auth/openid/callback', passport.authenticate('openid', { - successReturnToOrRedirect: config.serverurl + '/', - failureRedirect: config.serverurl + '/' + successReturnToOrRedirect: config.serverURL + '/', + failureRedirect: config.serverURL + '/' }) ) -- cgit v1.2.3