From 1378e1155ff05168e20489739c139db1937881de Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 30 Nov 2014 23:44:15 -0500 Subject: [PATCH] fixed #2479 --- src/routes/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : '/'); }); }