diff --git a/src/middleware/user.js b/src/middleware/user.js index c9713df9aa..710c121d52 100644 --- a/src/middleware/user.js +++ b/src/middleware/user.js @@ -206,7 +206,7 @@ module.exports = function (middleware) { } const path = req.url.replace(/^\/api/, '') .replace(`/uid/${uid}`, () => `/user/${userslug}`); - controllers.helpers.redirect(res, path); + controllers.helpers.redirect(res, path, true); }); middleware.redirectMeToUserslug = helpers.try(async (req, res) => {