Whispeak: Dont' reset cid in ajax endpoints - refs BT#17415

pull/3388/head
Angel Fernando Quiroz Campos 5 years ago
parent 0b7a24b741
commit 7ff25fde7a
  1. 2
      plugin/whispeakauth/ajax/authentify_password.php
  2. 2
      plugin/whispeakauth/ajax/record_audio.php

@ -3,8 +3,6 @@
use Chamilo\PluginBundle\Entity\WhispeakAuth\LogEvent; use Chamilo\PluginBundle\Entity\WhispeakAuth\LogEvent;
$cidReset = true;
require_once __DIR__.'/../../../main/inc/global.inc.php'; require_once __DIR__.'/../../../main/inc/global.inc.php';
api_block_anonymous_users(false); api_block_anonymous_users(false);

@ -4,8 +4,6 @@
use Chamilo\PluginBundle\WhispeakAuth\Controller\AuthenticationController; use Chamilo\PluginBundle\WhispeakAuth\Controller\AuthenticationController;
use Chamilo\PluginBundle\WhispeakAuth\Controller\EnrollmentController; use Chamilo\PluginBundle\WhispeakAuth\Controller\EnrollmentController;
$cidReset = true;
require_once __DIR__.'/../../../main/inc/global.inc.php'; require_once __DIR__.'/../../../main/inc/global.inc.php';
$action = isset($_POST['action']) ? $_POST['action'] : 'enrollment'; $action = isset($_POST['action']) ? $_POST['action'] : 'enrollment';

Loading…
Cancel
Save