Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 334 Bytes

2022-08-08-add-cancelable-event-to-csrf-handler.md

File metadata and controls

10 lines (8 loc) · 334 Bytes
title issue
Add cancelable event to csrf handler
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