diff --git a/src/controllers/accounts/profile.js b/src/controllers/accounts/profile.js index 21f6e6a191..93be1d2b4e 100644 --- a/src/controllers/accounts/profile.js +++ b/src/controllers/accounts/profile.js @@ -24,7 +24,7 @@ profileController.get = async function (req, res, next) { return next(); } - if (meta.config.activitypubEnabled && !res.locals.isAPI && !utils.isNumber(userData.uid)) { + if (!req.loggedIn && meta.config.activitypubEnabled && !res.locals.isAPI && !utils.isNumber(userData.uid)) { return helpers.redirect(res, `/outgoing?url=${encodeURIComponent(userData.uid)}`); }