TidyLinker.com
TypeScript
Pull Request Opened
PR #103 opened: fix: resolve 419 CSRF errors on support form
Summary
- Refreshes CSRF token via
/sanctum/csrf-cookiebefore submitting the support form, preventing stale token 419 errors - Uses the existing
refreshCsrfToken()helper from@/lib/utils
Test plan
- Open the support widget on any page and submit — should succeed without 419
- Leave the page idle for a while, then submit — should still work (fresh token fetched on submit)
- Test as both logged-in and guest users
+10
additions
-1
deletions
1
files changed