I am working in a Laravel project running in IIS that, in some cases, submits a lot of form data. When that happens, I end up with a TokenMismatchException. When running the project through php artisan serve, it works fine regardless of how many form elements are submitted.
I have also modified the values of max_input_vars and max_input_nesting_level in php.ini but it still does not work in IIS.