summaryrefslogtreecommitdiff
path: root/lib/web/auth/openid/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/auth/openid/index.js')
-rw-r--r--lib/web/auth/openid/index.js4
1 files changed, 2 insertions, 2 deletions
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 + '/'
})
)