You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't launch cron task manually when CSRF security is set to 3
Dolibarr Version
20, develop
Environment PHP
8.2
Environment Database
mariadb
Steps to reproduce the behavior and expected behavior
set MAIN_SECURITY_CSRF_WITH_TOKEN to 3
launch any cron task from the dolibarr interface
this error will occur : Access to this page this way (POST method or GET with a sensible value for 'action' parameter) is refused by CSRF protection in main.inc.php. Token not provided. If you access your server behind a proxy using url rewriting and the parameter is provided by caller, you might check that all HTTP header are propagated (or add the line $dolibarr_nocsrfcheck=1 into your conf.php file or MAIN_SECURITY_CSRF_WITH_TOKEN to 0 instead of 3 into setup).
Attached files
No response
The text was updated successfully, but these errors were encountered:
Bug
Can't launch cron task manually when CSRF security is set to 3
Dolibarr Version
20, develop
Environment PHP
8.2
Environment Database
mariadb
Steps to reproduce the behavior and expected behavior
set MAIN_SECURITY_CSRF_WITH_TOKEN to 3
launch any cron task from the dolibarr interface
this error will occur :
Access to this page this way (POST method or GET with a sensible value for 'action' parameter) is refused by CSRF protection in main.inc.php. Token not provided. If you access your server behind a proxy using url rewriting and the parameter is provided by caller, you might check that all HTTP header are propagated (or add the line $dolibarr_nocsrfcheck=1 into your conf.php file or MAIN_SECURITY_CSRF_WITH_TOKEN to 0 instead of 3 into setup).
Attached files
No response
The text was updated successfully, but these errors were encountered: