Fixing PHP Warning on resetting failed login count

Addresses #330 and further cleans PHP Log
This commit is contained in:
Sebastian Grewe 2013-07-15 16:16:40 +02:00
parent 501f369b4e
commit 7b929ed3e4
2 changed files with 2 additions and 1 deletions

View File

@ -8,5 +8,6 @@ if ($user->isAuthenticated()) {
$user->setUserFailed($_SESSION['USERDATA']['id'], 0);
header("Location: " . $_SERVER['HTTP_REFERER']);
}
// Somehow we still need to load this empty template
$smarty->assign("CONTENT", "../../global/empty.tpl");
?>

View File