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 <noreply@anthropic.com>
14 lines
660 B
PHP
14 lines
660 B
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
/*
|
||
* Clearer "lost password" wording for non-technical users.
|
||
* See contao/languages/de/default.php for the rationale.
|
||
*/
|
||
|
||
$GLOBALS['TL_LANG']['MSC']['invalidToken'] = 'This link is no longer valid. It has already been used, has expired or has been replaced by a newer e-mail. Please request a new link – only the link from the most recent e-mail is valid.';
|
||
$GLOBALS['TL_LANG']['MSC']['tokenConfirmed'] = 'This link has already been used – your password has already been changed with it. Sign in with your new password or request a new link if needed.';
|
||
|
||
$GLOBALS['TL_LANG']['MSC']['oldPassword'] = 'Current password';
|