blob: 9a4cdd72e39075bc7f8a7a9aed5a92b0da25badf (
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['username']);
header('Location: /');
?>
|