mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #2449 enhance password reset flow with verification and lockout
Added email notification for successful password reset, improved verification code handling, and implemented account lockout after too many failed attempts. Introduced new language strings for user feedback and security messages. Refactored password reset logic to better handle guest/generic users and API key recommendations.
This commit is contained in:
@@ -528,3 +528,9 @@ $lang['The secret will no longer be displayed. You must copy it to continue.'] =
|
||||
$lang['ID copied.'] = 'ID copied.';
|
||||
$lang['Secret copied. Keep it in a safe place.'] = 'Secret copied. Keep it in a safe place.';
|
||||
$lang['edit user preferences'] = 'edit user preferences';
|
||||
$lang['Here is your verification code:'] = 'Here is your verification code:';
|
||||
$lang['Your verification code'] = 'Your verification code';
|
||||
$lang['If this wasn\'t you, please change your password immediately or contact your webmaster.'] = 'If this wasn\'t you, please change your password immediately or contact your webmaster.';
|
||||
$lang['If you changed your password because you think it was stolen, we recommend revoking your %d API keys <a href="%s">in your profile</a>.'] = 'If you changed your password because you think it was stolen, we recommend revoking your %d API keys <a href="%s">in your profile</a>.';
|
||||
$lang['Too many attempts, please try later..'] = 'Too many attempts, please try later..';
|
||||
$lang['Verification successful! You can now choose a new password.'] = 'Verification successful! You can now choose a new password.';
|
||||
|
||||
@@ -526,4 +526,10 @@ $lang['Save your ID and secret'] = 'Enregistrez votre identifiant et votre secre
|
||||
$lang['The secret will no longer be displayed. You must copy it to continue.'] = 'Le secret ne sera plus affiché. Vous devez le copier pour continuer.';
|
||||
$lang['ID copied.'] = 'Identifiant copié.';
|
||||
$lang['Secret copied. Keep it in a safe place.'] = 'Secret copié. Gardez-le dans un endroit sûr.';
|
||||
$lang['edit user preferences'] = 'modifier les préférences utilisateur';
|
||||
$lang['edit user preferences'] = 'modifier les préférences utilisateur';
|
||||
$lang['Here is your verification code:'] = 'Voici votre code de vérification :';
|
||||
$lang['Your verification code'] = 'Votre code de vérification';
|
||||
$lang['If this wasn\'t you, please change your password immediately or contact your webmaster.'] = 'Si ce n\'était pas vous, veuillez changer immédiatement votre mot de passe ou contacter votre webmaster.';
|
||||
$lang['If you changed your password because you think it was stolen, we recommend revoking your %d API keys <a href="%s">in your profile</a>.'] = 'Si vous avez changé votre mot de passe car vous pensez qu\'il a été volé, nous vous recommandons de révoquer vos %d clefs d\'API <a href="%s">sur votre profil</a>.';
|
||||
$lang['Too many attempts, please try later..'] = 'Trop de tentatives, veuillez réessayer plus tard..';
|
||||
$lang['Verification successful! You can now choose a new password.'] = 'Vérification réussie ! Vous pouvez maintenant choisir un nouveau mot de passe.';
|
||||
|
||||
Reference in New Issue
Block a user