diff --git a/src/routes/authentication.js b/src/routes/authentication.js index 106d555992..0b7cc58f3c 100644 --- a/src/routes/authentication.js +++ b/src/routes/authentication.js @@ -249,7 +249,7 @@ return res.status(400).send(err.message); } - res.status(200).send(data.referrer ? data.referrer : '/'); + res.status(200).send(data.referrer ? data.referrer : nconf.get('relative_path') + '/'); }); }