<?php
session_start();
session_destroy();
// Clear the persistent login cookie
setcookie('inboxzero_logged_in', '', time() - 3600, '/');
if (file_exists(__DIR__ . '/tmp/token.json')) {
unlink(__DIR__ . '/tmp/token.json');
}
header('Location: index.php');
?>
← Back