Skip to content
Snippets Groups Projects
Commit fb360ad8 authored by Jared Hancock's avatar Jared Hancock
Browse files

auth: Fix CSRF violation after logout

parent 021c938e
Branches
Tags
No related merge requests found
...@@ -38,6 +38,4 @@ catch (Exception $x) { ...@@ -38,6 +38,4 @@ catch (Exception $x) {
// Lock::removeStaffLocks may throw InconsistentModel on upgrade // Lock::removeStaffLocks may throw InconsistentModel on upgrade
} }
@header('Location: login.php'); Http::redirect('login.php');
require('login.php');
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment