<?php
/**
 * POST /api/auth/logout.php
 */

require_once __DIR__ . '/../config/config.php';
require_once __DIR__ . '/../includes/response.php';
require_once __DIR__ . '/../includes/auth.php';

only_post_allowed();

logout_user();

send_json(true, 'Logged out successfully.');
