vtenext/modules/Touch/vtws/TouchShareToken.php
2021-04-28 20:10:26 +02:00

19 lines
460 B
PHP

<?php
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
$module = $_REQUEST['module'];
if (!$login || empty($userId)) {
echo 'Login Failed';
} elseif (in_array($module, $touchInst->excluded_modules)) {
echo "Module not permitted";
} else {
$wsclass = new TouchShareToken();
$wsclass->execute($_REQUEST);
}
?>