mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2522 use privacy-preserving verification message
Replace the explicit "An email has been sent with a verification code" message with a privacy-preserving wording: "If your account exists, a verification code has been sent to your email address." This avoids account enumeration. Updated language entries in en_UK and fr_FR, the server-side message in password.php, and the password reset template.
This commit is contained in:
@@ -360,7 +360,7 @@ if (isset($_POST['submit']))
|
||||
{
|
||||
if (process_verification_code())
|
||||
{
|
||||
$page['infos'][] = l10n('An email has been sent with a verification code');
|
||||
$page['infos'][] = l10n('If your account exists, a verification code has been sent to your email address.');
|
||||
$page['action'] = 'lost_code';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user