opensmtpdadmin/users/logout.php

30 lines
432 B
PHP
Raw Normal View History

2022-08-18 14:01:52 +02:00
<?php
//
// OpenSMTPD Admin
// by Mischa Peters <mischa at high5 dot nl>
// Copyright (c) 2022 High5!
// License Info: LICENSE.TXT
//
// File: logout.php
//
// Template File: -none-
//
// Template Variables:
//
// -none-
//
// Form POST \ GET Variables:
//
// -none-
//
2022-09-04 19:17:50 +02:00
require_once '../functions.inc.php';
2022-08-18 14:01:52 +02:00
2022-09-04 19:17:50 +02:00
$USERID_USERNAME = check_session('userid');
2022-08-18 14:01:52 +02:00
session_unset();
session_destroy();
header("Location: login.php");
exit;
?>