Files
Surillya-Login/logout.php

10 lines
168 B
PHP
Raw Normal View History

2025-05-16 13:58:39 -04:00
<?php
session_start();
session_destroy();
// Clear cookie too
setcookie("access_token", "", time() - 3600, "/", "", true, true);
header("Location: index.php");
exit;