Setup of website module to enable login/pass is easier

This commit is contained in:
Laurent Destailleur
2023-10-18 18:16:10 +02:00
parent 896bab643f
commit f803b991e6
4 changed files with 55 additions and 41 deletions

View File

@@ -26,13 +26,13 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
global $conf, $langs, $user, $db;
$langs->loadLangs(array("admin", "other", "modulebuilder"));
$action = GETPOST('action', 'aZ09');
$backtopage = GETPOST('backtopage', 'alpha');
if (!$user->admin || !isModEnabled('modulebuilder')) {
accessforbidden();
}
$action = GETPOST('action', 'aZ09');
$backtopage = GETPOST('backtopage', 'alpha');
/*
* Actions