Create login logic
This commit is contained in:
parent
68e0312c84
commit
ad4b7fc4e7
9 changed files with 188 additions and 14 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue