Skip to content

Node.js based forum software built for the modern web

fixed #2479

Julian Lam1378e1155ff0
diff --git a/src/routes/authentication.js b/src/routes/authentication.js
index 1c938e185c..d893b44efa 100644
--- a/src/routes/authentication.js
+++ b/src/routes/authentication.js
@@ -241,7 +241,7 @@
return res.status(400).send(err.message);
}
- res.status(200).send(nconf.get('relative_path') + (data.referrer ? data.referrer : '/'));
+ res.status(200).send(data.referrer ? data.referrer : '/');
});
}