diff --git a/lang/en.yml b/lang/en.yml index a9257a62a..c1020c705 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -477,6 +477,7 @@ en: ERRORPASSWORDPERMISSION: 'You must be logged in in order to change your password!' LOGGEDOUT: 'You have been logged out. If you would like to log in again, enter your credentials below.' LOGIN: 'Log in' + LOSTPASSWORDHEADER: 'Lost Password' NOTEPAGESECURED: 'That page is secured. Enter your credentials below and we will send you right along.' NOTERESETLINKINVALID: '

The password reset link is invalid or expired.

You can request a new one here or change your password after you logged in.

' NOTERESETPASSWORD: 'Enter your e-mail address and we will send you a link with which you can reset your password' diff --git a/security/Security.php b/security/Security.php index 27e507591..26f1536be 100644 --- a/security/Security.php +++ b/security/Security.php @@ -549,7 +549,7 @@ class Security extends Controller { public function passwordsent($request) { if(class_exists('SiteTree')) { $tmpPage = new Page(); - $tmpPage->Title = _t('Security.LOSTPASSWORDHEADER'); + $tmpPage->Title = _t('Security.LOSTPASSWORDHEADER', 'Lost Password'); $tmpPage->URLSegment = 'Security'; $tmpPage->ID = -1; // Set the page ID to -1 so we dont get the top level pages as its children $controller = Page_Controller::create($tmpPage);