mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-09-18 21:38:53 +00:00
Can create clients from shell
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user