auto-redirect to SSO flow should work in subfolders too

This commit is contained in:
Julian Lam
2016-11-14 14:01:05 -05:00
parent e8b38bb9f7
commit 2f2eb1457d

View File

@@ -132,7 +132,7 @@ Controllers.login = function (req, res, next) {
external: data.authentication[0].url
});
} else {
return res.redirect(data.authentication[0].url);
return res.redirect(nconf.get('relative_path') + data.authentication[0].url);
}
}
if (req.uid) {