mirror of
https://github.com/pi-hole/web.git
synced 2025-12-27 13:59:14 +00:00
10 lines
236 B
PHP
10 lines
236 B
PHP
<?php
|
|
|
|
// If the user wants to log out, we free all session variables currently registered
|
|
// and delete any persistent cookie.
|
|
session_start();
|
|
session_unset();
|
|
setcookie('persistentlogin', '', 1);
|
|
header('Location: login.php');
|
|
exit;
|