modmore / CSRFHelper

CSRF Helper is a tool for MODX to secure forms against cross-site request forgery (CSRF) vulnerabilities.
MIT License
3 stars 1 forks source link

Translating CSRF Helper error notices #3

Closed valokammi closed 2 years ago

valokammi commented 4 years ago

Is there a way to translate error messages. They seem included in snippets, not in lexicons. I know that they are very rare. Last time when I saw error notice was when I installed ReCaptcha V2 and first time I test form it gives error (not happened every modx installation that I tested). Resend of form was success. Maybe caching issue (all csrf helper needed things are uncached in form)? No errors in error log. Modx 2.7.2 @linux CSRFHelper 1.0.0 Formit 4.2.3 ReCaptchaV2 3.2.1 Beta

Mark-H commented 2 years ago

Added in 1.1, you can now tweak it via the lexicon management interface:

Schermafbeelding 2022-04-14 om 01 10 20