diff options
| -rwxr-xr-x | www/setup.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/setup.php b/www/setup.php index e7e9bb4..e2d24c5 100755 --- a/www/setup.php +++ b/www/setup.php @@ -21,6 +21,10 @@ foreach ($_GET as $name => $value) { } if($bool){ + if(isset($_SESSION["login"])){ + session_start(); + session_destroy(); + } if($db->exec(" BEGIN TRANSACTION; PRAGMA writable_schema = 1; |
