Please sign in to comment.
EZP-30161: Handle form token in both custom and also for historical r…
…easons default value (#1431) * EZP-30161: Handle form token in both custom and also for historical reasons default value Since 5.0 FormToken code has been operating in two modes: - Default pure legacy mode using `ezxform_token` as form name - Symfony mode using `_token` as form name Hoewever quite some legacy code hard codes the default name. In 5.x this inconsistancy was solved by setting Symfony to use `field_name: ezxform_token` For Platform + legacy bridge that is no longer a good default, so this changes the logic so that ezxFormToken is cable of handling both at the same time. * Apply suggestions from code review Co-Authored-By: Gunnstein Lye <email@example.com>
- Loading branch information...
Showing with 20 additions and 6 deletions.