<?php
/**
 * LOGOUT PAGE
 * File: auth/logout.php
 * Handles user logout
 */

require_once '../app/Core/init.php';

// Logout user
Auth::logout();

// Redirect to login page with message
flash('success', 'You have been successfully logged out.', 'success');
redirect('login.php');