18 lines
No EOL
328 B
PHP
18 lines
No EOL
328 B
PHP
<?php
|
|
if(!defined("COMMON"))
|
|
require ("Common.php");
|
|
|
|
|
|
// Edit database
|
|
$js = getJsonizedInput();
|
|
$token = $js['id'];
|
|
|
|
$DB = get_DB();
|
|
$res = $DB->query("UPDATE `auth` SET `webLoginKey` = '".NULLKEY."' WHERE `webLoginKey` = '".$token."';");
|
|
|
|
die(json_encode(array(
|
|
"done" => true,
|
|
"type" => "S2CSimpleReply"
|
|
)));
|
|
|
|
?>
|