<?php
// /esp32/dashboard/logout.php
// Disclaimer: This example code is part of a research prototype.
// It is provided “as is”, without any warranty of any kind.
// Please review, adapt, and test carefully before using it in production.

require_once __DIR__ . '/auth.php';

logout_user();
header('Location: ' . BASE_URL . '/login.php');
exit;
