mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
17 lines
321 B
PHP
17 lines
321 B
PHP
<?
|
|
|
|
if (isset($LoggedUser['ID']) || !isset($_GET['token']) || !FEATURE_EMAIL_REENABLE) {
|
|
header("Location: index.php");
|
|
die();
|
|
}
|
|
|
|
if (isset($_GET['token'])) {
|
|
$Err = AutoEnable::handle_token($_GET['token']);
|
|
}
|
|
|
|
View::show_header("Enable Request");
|
|
|
|
echo $Err; // This will always be set
|
|
|
|
View::show_footer();
|