Commit 32a1e4e0 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 774a253c
...@@ -3,7 +3,7 @@ include('../api.class.php'); ...@@ -3,7 +3,7 @@ include('../api.class.php');
if(isset($_GET["logoff"])){ if(isset($_GET["logoff"])){
unset($_SESSION); unset($_SESSION);
unset($_COOKIE); unset($_COOKIE);
session_abort(); session_destroy();
} }
// Anmeldung übeprüfen... // Anmeldung übeprüfen...
if((isset($_SESSION['api-key']) OR (isset($_COOKIE['api-key']) AND isset($_COOKIE['api-secret'])))){ if((isset($_SESSION['api-key']) OR (isset($_COOKIE['api-key']) AND isset($_COOKIE['api-secret'])))){
......
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