fix rss accessibility

This commit is contained in:
ghost 2023-09-11 05:39:28 +03:00
parent 176af0a7e6
commit e20439c91d
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ else if (!$user = $db->getUser($userId))
}
// On first visit, redirect user to the welcome page with access level question
else if (is_null($user->public))
else if (is_null($user->public) && !isset($_GET['rss']))
{
header(
sprintf('Location: %s/welcome.php', WEBSITE_URL)

View File

@ -69,7 +69,7 @@ else if (!$magnet = $db->getMagnet(isset($_GET['magnetId']) ? (int) $_GET['magne
}
// On first visit, redirect user to the welcome page with access level question
else if (is_null($user->public))
else if (is_null($user->public) && !isset($_GET['rss']))
{
header(
sprintf('Location: %s/welcome.php', WEBSITE_URL)