diff --git a/src/lib/utils/user.ts b/src/lib/utils/user.ts index 8527a33c7..736ed4419 100644 --- a/src/lib/utils/user.ts +++ b/src/lib/utils/user.ts @@ -157,7 +157,7 @@ export async function logoutUser redirectLink = `/${userLang == 'en' || userLang == undefined ? '' : userLang}` ; - if (currentRouteId != 'AuthorsPage') + if (currentRouteId === "Standard" || currentRouteId === "ProfilePage") await gotoSW ( redirectLink,