Added code to redirect user if they are signed in and go to the sign up page

This commit is contained in:
2023-07-24 23:14:16 -05:00
parent 7b0e1986e2
commit a0f1d0f5ac
2 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
<?php
session_start();
if (isset($_SESSION['user'])) {
header("Location: https://glink.zip/");
exit();
}
?>
<!DOCTYPE html>
<html lang="en" class="h-full bg-white">
<head>