diff options
author | plegall <plg@piwigo.org> | 2015-12-31 19:59:08 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-31 19:59:08 +0100 |
commit | 4aeedb5a2ea455c503721de29a35e8a3c1fa0a9d (patch) | |
tree | 1e5892d3f32f1491d85067cc9def93270649c8c6 /include/config_default.inc.php | |
parent | eee57a5d2ece31f9b99485f82a310b80d8fa3935 (diff) |
feature #392, authentication keys, album notification
* On album notification (for a group), sends one distinct email for each user
with a new authentication key.
* When someone clicks the link with auth=<key> in URL, if the user is not
already connected, Piwigo will automatically connect the user.
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index eafb9d5a9..2de75764d 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -646,6 +646,10 @@ $conf['recent_post_dates'] = array( // the author shown in the RSS feed <author> element $conf['rss_feed_author'] = 'Piwigo notifier'; +// how long does the authentication key stays valid, in seconds. 3 days by +// default. 0 to disable. +$conf['auth_key_duration'] = 3*24*60*60; + // +-----------------------------------------------------------------------+ // | Set admin layout | // +-----------------------------------------------------------------------+ |