Can create clients from shell

This commit is contained in:
Pierre
2018-05-07 18:50:50 +02:00
parent 97ef188167
commit 0b5019d487
5 changed files with 104 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ if(!isset($_GET["format"]))
header("Technology: Official Comunic API Server");
//Check client tokens
if(!$cs->tokens->checkClientRequestTokens())
if(!$cs->clients->checkClientRequestTokens())
Rest_fatal_error(401, "Please check your client tokens!");
//Check for remote requests limit