From 8bb931636d0b426730300635ae0e1ef57f7b2fb8 Mon Sep 17 00:00:00 2001 From: aymm Date: Mon, 5 Apr 2021 12:44:59 +0200 Subject: [PATCH] Auto redirecting after login --- auth_callback.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/auth_callback.php b/auth_callback.php index 24d083c..b2a459a 100644 --- a/auth_callback.php +++ b/auth_callback.php @@ -1,25 +1,12 @@ authenticate($_GET['code']); if ($success) { - die('Welcome! Back to home'); + redirect('index.php'); } else { die('Echo error authenticating'); }