mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-27 04:32:14 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Intended to prevent enumeration to check if a user exists. - Updated messages on both the reqest-reset and set-password elements. - Also updated notification auto-hide to be dynamic based upon the amount of words within the notification. - Added tests to cover. For #2016
16 lines
564 B
PHP
16 lines
564 B
PHP
<?php
|
|
/**
|
|
* Password Reminder Language Lines
|
|
* The following language lines are the default lines which match reasons
|
|
* that are given by the password broker for a password update attempt has failed.
|
|
*/
|
|
return [
|
|
|
|
'password' => 'Passwords must be at least eight characters and match the confirmation.',
|
|
'user' => "We can't find a user with that e-mail address.",
|
|
'token' => 'The password reset token is invalid for this email address.',
|
|
'sent' => 'We have e-mailed your password reset link!',
|
|
'reset' => 'Your password has been reset!',
|
|
|
|
];
|