blob: d37b0a07ce6448255fa7caff23d2a613f6f2480e (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?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']);
header('Location: /');
?>
|