updated a whole bunch of stuff

This commit is contained in:
2019-05-24 20:18:37 +02:00
parent 4a050eda84
commit ec5a13ccd1
9 changed files with 36 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
<?php
include_once("./controller/UserSession.php");
if(UserSession::isSessionValid()){
Database::invalidateSession(UserSession::getSession()->token);
}
session_destroy();
?>