mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 05:05:58 +02:00
auto-redirect to SSO flow should work in subfolders too
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user