Actualización
This commit is contained in:
17
plugin/whispeakauth/authentify.php
Normal file
17
plugin/whispeakauth/authentify.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
use Chamilo\PluginBundle\WhispeakAuth\Controller\AuthenticationController;
|
||||
|
||||
require_once __DIR__.'/../../main/inc/global.inc.php';
|
||||
|
||||
$controller = new AuthenticationController();
|
||||
|
||||
try {
|
||||
$controller->index();
|
||||
} catch (Exception $exception) {
|
||||
api_not_allowed(
|
||||
true,
|
||||
Display::return_message($exception->getMessage(), 'warning')
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user