From 386451b2d56cdb239535e20bfb35fbe860e2ae05 Mon Sep 17 00:00:00 2001 From: surillya Date: Sat, 17 May 2025 15:39:46 -0400 Subject: [PATCH] Reddirect handler Included a handler to show how you could get session data. In this case, if user is logged in, they get shown the profile page, instead of the sign-in page. You can customize this to anything, for example removing the login button, and replacing it with the profile picture of Gravatar or something. --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/index.php b/index.php index 4c610d0..a3c8e23 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,11 @@ +