mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove past tense for "log in" in expired token message
This commit is contained in:
parent
dbab696690
commit
18fff5c16c
@ -323,7 +323,7 @@ en:
|
|||||||
LOGOUT: 'Log out'
|
LOGOUT: 'Log out'
|
||||||
LOSTPASSWORDHEADER: 'Lost Password'
|
LOSTPASSWORDHEADER: 'Lost Password'
|
||||||
NOTEPAGESECURED: 'That page is secured. Enter your credentials below and we will send you right along.'
|
NOTEPAGESECURED: 'That page is secured. Enter your credentials below and we will send you right along.'
|
||||||
NOTERESETLINKINVALID: '<p>The password reset link is invalid or expired.</p><p>You can request a new one <a href="{link1}">here</a> or change your password after you <a href="{link2}">logged in</a>.</p>'
|
NOTERESETLINKINVALID: '<p>The password reset link is invalid or expired.</p><p>You can request a new one <a href="{link1}">here</a> or change your password after you <a href="{link2}">log in</a>.</p>'
|
||||||
NOTERESETPASSWORD: 'Enter your e-mail address and we will send you a link with which you can reset your password'
|
NOTERESETPASSWORD: 'Enter your e-mail address and we will send you a link with which you can reset your password'
|
||||||
PASSWORDRESETSENTHEADER: 'Password reset link sent'
|
PASSWORDRESETSENTHEADER: 'Password reset link sent'
|
||||||
PASSWORDRESETSENTTEXT: 'Thank you. A reset link has been sent, provided an account exists for this email address.'
|
PASSWORDRESETSENTTEXT: 'Thank you. A reset link has been sent, provided an account exists for this email address.'
|
||||||
|
@ -122,7 +122,7 @@ class ChangePasswordHandler extends RequestHandler
|
|||||||
'SilverStripe\\Security\\Security.NOTERESETLINKINVALID',
|
'SilverStripe\\Security\\Security.NOTERESETLINKINVALID',
|
||||||
'<p>The password reset link is invalid or expired.</p>'
|
'<p>The password reset link is invalid or expired.</p>'
|
||||||
. '<p>You can request a new one <a href="{link1}">here</a> or change your password after'
|
. '<p>You can request a new one <a href="{link1}">here</a> or change your password after'
|
||||||
. ' you <a href="{link2}">logged in</a>.</p>',
|
. ' you <a href="{link2}">log in</a>.</p>',
|
||||||
[
|
[
|
||||||
'link1' => Security::lost_password_url(),
|
'link1' => Security::lost_password_url(),
|
||||||
'link2' => Security::login_url(),
|
'link2' => Security::login_url(),
|
||||||
|
Loading…
Reference in New Issue
Block a user