mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
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:
@@ -599,6 +599,14 @@ $conf['browser_language'] = true;
|
||||
// If false it'll be redirected from index.php to identification.php
|
||||
$conf['guest_access'] = true;
|
||||
|
||||
// password_reset_duration : defines the validity duration (in seconds) of a
|
||||
// password reset link. Default value is one hour (3600 seconds).
|
||||
$conf['password_reset_duration'] = 60*60;
|
||||
|
||||
// password_activation_duration : defines the validity duration (in seconds)
|
||||
// of an password activation link. Default value is 72 hours (259200 seconds).
|
||||
$conf['password_activation_duration'] = 3*24*60*60;
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | history |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user