blob: 37304d702ae264afe9963f6d7d32208942e66c00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
// TODO
// This is dangerous and stupid
// Right now every webpage can redirect any of its users to http://shady.upload/logout
// which will log the user out of our webpage
session_start();
//unset($_SESSION['user_object']);
session_destroy();
header('Location: /');
?>
|