Khushvendra Singh
e0c8972366
Align antiforgery error details flow with BTCPay UI handling (#196) (#197)
* Align antiforgery error details flow with BTCPay UI handling (#196)
- add UIControllerAntiforgeryTokenAttribute equivalent and register it globally in MVC\n- populate UIErrorController.ErrorDetailsKey on antiforgery validation failures\n- keep UI-only/non-safe-method antiforgery behavior aligned with BTCPay policy semantics\n- add focused unit tests for validation, existing failure enrichment, GET bypass, API bypass, and IgnoreAntiforgeryToken bypass\n- add integration-style error page test to verify generic UI error view renders CSRF details
* Align antiforgery policy precedence for UI error handling
* Fix antiforgery error details and exempt NIP-07 verify endpoint
* Preserve detailed antiforgery error messages
* Keep antiforgery PR focused
* fix: keep antiforgery details generic
* test: focus antiforgery coverage
---------
Co-authored-by: thgO.O <thgo.o.btc@proton.me>