1
mirror of https://github.com/jakejarvis/spoons.git synced 2025-04-26 18:08:27 -04:00

login security fix

This commit is contained in:
Jake Jarvis 2017-07-16 16:01:36 -04:00
parent 0f29afffa4
commit 5ba4f3d217

View File

@ -1,7 +1,6 @@
<?php <?php
include('config.php'); include('config.php');
session_start(); session_start();
setcookie('remembered', 'FALSE', 1);
session_destroy(); session_destroy();
header("Location:" . $site_url . "/login"); header("Location:" . $site_url . "/login");
?> ?>