Ctrl K
ComunidadGuías…

changelog/release-6-4-15-0/2022-08-08-add-cancelable-event-to-csrf-handler.md

Rama trunk · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
---
title: Add cancelable event to csrf handler
issue: NEXT-22774
---

# Storefront
* Changed return type of `NativeEventEmitter.publish` to return the fired event
* Added a third parameter to `NativeEventEmitter.publish` to allow for canceling the event
* Changed `beforeSubmit` event in `form-csrf-handler` plugin to be cancelable