Added code to redirect user if they are signed in and go to the sign up page
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user