2024-05-16 03:52:45 -07:00
|
|
|
<?php
|
|
|
|
if(!defined("COMMON"))
|
|
|
|
require ("Common.php");
|
|
|
|
|
2024-05-16 15:30:13 -07:00
|
|
|
|
|
|
|
// Edit database
|
|
|
|
$js = getJsonizedInput();
|
|
|
|
$token = $js['id'];
|
|
|
|
|
|
|
|
$DB = get_DB();
|
|
|
|
$res = $DB->query("UPDATE `auth` SET `webLoginKey` = '".NULLKEY."' WHERE `webLoginKey` = '".$token."';");
|
2024-05-16 03:52:45 -07:00
|
|
|
|
|
|
|
die(json_encode(array(
|
|
|
|
"done" => true,
|
|
|
|
"type" => "S2CSimpleReply"
|
|
|
|
)));
|
|
|
|
|
|
|
|
?>
|