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
I guess this can work similar to how the #[IsGranted] attribute is implemented. Happy to help if you want some pointers (find the guy with the gray Symfony hoodie ๐ )
Description
POST only actions like delete actions are likely to use such kind of code:
What about introducing a new
IsCsrfTokenValid
attribute that takes the id and optionally the token key to avoid repeating theif
check.If accepted I can try a PR during the Hackday ๐
Example
The text was updated successfully, but these errors were encountered: