From 024c97fce58adc1ba21017eba85aeebb891a33a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Wed, 26 Aug 2026 14:36:46 +0200 Subject: [PATCH] Clearer lost-password errors and a request-new-link action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every stale reset link produced a bare 'Ungültiges Token', which sent users into a loop of requesting ever more e-mails. The overridden core messages now explain that only the link from the newest e-mail counts, the auth message template offers a direct 'Neuen Link anfordern' button, and the change-password page asks for the 'Aktuelles Passwort' with a hint covering freshly reset passwords. Co-Authored-By: Claude Fable 5 --- contao/languages/de/default.php | 20 +++++++++++++++++++ contao/languages/en/default.php | 13 ++++++++++++ .../templates/frontend/mod_message.html.twig | 6 ++++++ 3 files changed, 39 insertions(+) create mode 100644 contao/languages/de/default.php create mode 100644 contao/languages/en/default.php diff --git a/contao/languages/de/default.php b/contao/languages/de/default.php new file mode 100644 index 0000000..02dd762 --- /dev/null +++ b/contao/languages/de/default.php @@ -0,0 +1,20 @@ +

{{ message }}

+ {% if surveyTokenError %} + {{ 'survey.auth.request_new_link'|trans }} + {% endif %} {{ 'survey.auth.back_to_login'|trans }}