Create login logic

This commit is contained in:
zontreck 2024-05-16 02:03:39 -07:00
parent 68e0312c84
commit ad4b7fc4e7
9 changed files with 188 additions and 14 deletions

View file

@ -26,7 +26,13 @@ if($clientKey == CLIENTPSK) {
$DB->query("INSERT INTO `UserAccounts` (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created, UserLevel, UserFlags, UserTitle, active) VALUES ('$ID', '".NULLKEY."', '$first', '$last', '$email', '', '".time()."', '$level', '0', '$title', '0');");
die(json_encode(array("done"=>true, "type"=> "S2CSimpleReply")));
die(
json_encode(
array(
"done"=>true,
"type"=> "S2CSimpleReply"
)
));
}else {