2
0
forked from Wavyzz/dolibarr

Fix CSRF check

This commit is contained in:
Laurent Destailleur
2019-10-14 11:45:13 +02:00
parent 7973b03201
commit ef09da8794

View File

@@ -22,6 +22,8 @@
*/
if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU', '1'); // If there is no need to load and show top and left menu
if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL', '1'); // Disabled because this page is into a popup on module search page and we want to avoid to have an Anti CSRF token error (done if MAIN_SECURITY_CSRF_WITH_TOKEN is on) when we make a second search after closing popup.
require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';