Files
Surillya-Login/logout.php
2025-05-16 13:58:39 -04:00

10 lines
168 B
PHP

<?php
session_start();
session_destroy();
// Clear cookie too
setcookie("access_token", "", time() - 3600, "/", "", true, true);
header("Location: index.php");
exit;