mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #2281 add two default conf for reset and activation link
When a password activation or reset link is generated, the link expiry time is now defined in two conf: $conf[’password_reset_duration‘] with a default time of one hour and $conf[’password_activation_duration‘] with a default time of 72 hours.
This commit is contained in:
@@ -1392,9 +1392,9 @@ $lang['Set as main user'] = 'Set as main user';
|
||||
$lang['This user must first be defined as the webmaster before it can be upgraded to the main user'] = 'This user must first be defined as the webmaster before it can be upgraded to the main user';
|
||||
$lang['Copied link'] = 'Copied link';
|
||||
$lang['You cannot copy the password if the connection to this site is not secure.'] = 'You cannot copy the password if the connection to this site is not secure.';
|
||||
$lang['An activation link valid for 1 hour has been sent to "%s". If the user doesn\'t receive the link, you can generate and copy a new one by editing the user and managing her password.'] = 'An activation link valid for 1 hour has been sent to "%s". If the user doesn\'t receive the link, you can generate and copy a new one by editing the user and managing her password.';
|
||||
$lang['An activation link valid for %s has been sent to "%s". If the user doesn\'t receive the link, you can generate and copy a new one by editing the user and managing her password.'] = 'An activation link valid for %s has been sent to "%s". If the user doesn\'t receive the link, you can generate and copy a new one by editing the user and managing her password.';
|
||||
$lang['Copy the link below and send it to the user so the password can be set.'] = 'Copy the link below and send it to the user so the password can be set.';
|
||||
$lang['An activation link valid for 1 hour was created but could not be sent. You can now copy the link below and send it to the user.'] = 'An activation link valid for 1 hour was created but could not be sent. You can now copy the link below and send it to the user.';
|
||||
$lang['An activation link valid for %s was created but could not be sent. You can now copy the link below and send it to the user.'] = 'An activation link valid for %s was created but could not be sent. You can now copy the link below and send it to the user.';
|
||||
$lang['Copy the password link'] = 'Copy the password link';
|
||||
$lang['Resend password link'] = 'Resend password link';
|
||||
$lang['Username successfully modified'] = 'Username successfully modified';
|
||||
@@ -1403,4 +1403,7 @@ $lang['Yes, let\'s proceed'] = 'Yes, let\'s proceed';
|
||||
$lang['What\'s new in version %s'] = 'What\'s new in version %s?';
|
||||
$lang['Read the release note'] = 'Read the release note';
|
||||
$lang['Ok, got it!'] = 'Ok, got it!';
|
||||
$lang['This link is valid for %s. After this time, you will need to request a new link.'] = 'This link is valid for %s. After this time, you will need to request a new link.';
|
||||
$lang['To set your password, visit the following address:'] = 'To set your password, visit the following address:';
|
||||
$lang['Someone requested that the password be set for the following user account:'] = 'Someone requested that the password be set for the following user account:';
|
||||
// Leave this line empty
|
||||
Reference in New Issue
Block a user