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:
parent
0f29afffa4
commit
5ba4f3d217
@ -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");
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user