The roundcube session lifetime is now a variable.

This commit is contained in:
Andrea Dell'Amico 2020-01-30 12:29:51 +01:00
parent af32ce30bc
commit 2da5d26ef6
2 changed files with 14 additions and 0 deletions

View File

@ -65,6 +65,8 @@ roundcube_show_images: 0
# 3 - on forward or reply to HTML message # 3 - on forward or reply to HTML message
# 4 - always, except when replying to plain text message # 4 - always, except when replying to plain text message
roundcube_html_editor: 0 roundcube_html_editor: 0
# In minutes
roundcube_session_lifetime: 60
roundcube_default_plugins: roundcube_default_plugins:
- acl - acl

View File

@ -301,6 +301,18 @@ $config['login_lc'] = {{ roundcube_login_lc }};
$config['display_product_info'] = 0; $config['display_product_info'] = 0;
// Session lifetime in minutes
$config['session_lifetime'] = {{ roundcube_session_lifetime }};
// Session domain: .example.org
$config['session_domain'] = '';
// Session name. Default: 'roundcube_sessid'
$config['session_name'] = null;
// Session authentication cookie name. Default: 'roundcube_sessauth'
$config['session_auth_name'] = null;
{% if roundcube_use_memcache %} {% if roundcube_use_memcache %}
$config['session_storage'] = 'memcache'; $config['session_storage'] = 'memcache';
{% elif roundcube_use_redis %} {% elif roundcube_use_redis %}