IMPR: Lost password labels

This commit is contained in:
Tony Air 2024-02-07 22:52:07 +02:00
parent bf64366060
commit a4ee9170ee
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ class AjaxControllerEx extends Extension
self::_processFields($form);
$form->addExtraClass('ajax-form');
$form->setLegend('Restore your password');
$form->setLegend('I\'ve lost my password');
$form->Actions()->first()->setTitle('Submit');
if ($form->get_protector()) {
$form->enableSpamProtection();