Lectures/admin/logout.php

6 lines
96 B
PHP

<?php
require_once '../includes/auth.php';
Auth::logout();
header('Location: login.php');
exit;