Created account component

This commit is contained in:
Pierre
2018-04-11 10:45:22 +02:00
parent 32f2d6bb0f
commit ea5257c478
5 changed files with 185 additions and 162 deletions

View File

@ -53,7 +53,7 @@ else {
//Check if login tokens where specified
if(isset($_POST['userToken1']) AND isset($_POST['userToken2'])){
//Try to login user
$userID = $cs->components->user->getUserIDfromToken(APIServiceID, array(
$userID = $cs->components->account->getUserIDfromToken(APIServiceID, array(
$_POST['userToken1'],
$_POST['userToken2']
));