Skip to content

Node.js based forum software built for the modern web

closes #2520

psychobunny94efa6dd87f7
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') + '/');
});
}