From 12fc20f8a21ef4d00ec78dd0a0b0a1413633c5d7 Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 1 Feb 2015 17:34:06 +0000 Subject: [PATCH] Removed un-needed header redirect --- html/includes/authenticate.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/html/includes/authenticate.inc.php b/html/includes/authenticate.inc.php index f71f2e614..412ae9017 100644 --- a/html/includes/authenticate.inc.php +++ b/html/includes/authenticate.inc.php @@ -82,7 +82,6 @@ if ((isset($_SESSION['username'])) || (isset($_COOKIE['sess_id'],$_COOKIE['token if( !$config['twofactor'] || $_SESSION['twofactor'] ) { $_SESSION['authenticated'] = true; dbInsert(array('user' => $_SESSION['username'], 'address' => $_SERVER["REMOTE_ADDR"], 'result' => 'Logged In'), 'authlog'); - header("Location: ".$_SERVER['REQUEST_URI']); } } if (isset($_POST['remember']))