allow to users read manual page before accepting data access type in welcome form

This commit is contained in:
ghost 2023-09-11 05:19:22 +03:00
parent 5a4aa57e35
commit 10428fcc79

View File

@ -47,12 +47,14 @@ else if (!$user = $db->getUser($userId))
} }
// On first visit, redirect user to the welcome page with access level question // On first visit, redirect user to the welcome page with access level question
/* Allow to users read this page before accepting data access type in welcome form
else if (is_null($user->public)) else if (is_null($user->public))
{ {
header( header(
sprintf('Location: %s/welcome.php', WEBSITE_URL) sprintf('Location: %s/welcome.php', WEBSITE_URL)
); );
} }
*/
?> ?>
<!DOCTYPE html> <!DOCTYPE html>