Optionally read CSRF exception error message via i18n
This release adds support for reading CSRF error message from i18n integration. You can define the translation message for CSRF errors inside the errors.json
file as follows.
{
"E_BAD_CSRF_TOKEN": "Session expired"
}
Also, fixed the bug to include input data when sending CSRF error via flash messages
Commits
- feat: add csrf error message using i18n 49537e7
- refactor: move tests_helpers file to test directory as helpers.ts 9d462f6
- test: update failing tests d5141ae
- chore: update dependencies 68e2da9
- fix: flash input data on CSRF error 0273f51
- chore: update dependencies bbb1d94
Full Changelog: v8.0.1...v8.1.0