Commit d9f7d5f5 authored by Nico Schallehn's avatar Nico Schallehn

test

parent dfc255eb
......@@ -2,7 +2,8 @@
include('../api.class.php');
if(isset($_GET["logoff"])){
unset($_SESSION);
unset($_COOKIE);
setcookie ("api-key", "", time() - 3600);
setcookie ("api-secret", "", time() - 3600);
session_destroy();
header('location: /');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment