aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorWilli Eggeling <mail@wje-online.de>2017-08-26 09:27:10 +0200
committerWilli Eggeling <mail@wje-online.de>2017-08-27 16:03:37 +0200
commit2e07e77573a379f9af006b2c523117eef9fdf9b2 (patch)
treebbcd002b7d357f92a832b4bd22d5ed6251732037 /application
parentde901736a663934c1b67f09f1d586da665f0f036 (diff)
downloadShaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.gz
Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.tar.zst
Shaarli-2e07e77573a379f9af006b2c523117eef9fdf9b2.zip
new setting: default value for 'remember me' checkbox
- the default state for the login page's 'remember me' checkbox can now be configured - adapted the default and vintage theme to consider the new setting - added documentation for the new setting
Diffstat (limited to 'application')
-rw-r--r--application/config/ConfigManager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/ConfigManager.php b/application/config/ConfigManager.php
index 8eab26f1..c94d92a8 100644
--- a/application/config/ConfigManager.php
+++ b/application/config/ConfigManager.php
@@ -328,6 +328,8 @@ class ConfigManager
328 $this->setEmpty('privacy.default_private_links', false); 328 $this->setEmpty('privacy.default_private_links', false);
329 $this->setEmpty('privacy.hide_public_links', false); 329 $this->setEmpty('privacy.hide_public_links', false);
330 $this->setEmpty('privacy.hide_timestamps', false); 330 $this->setEmpty('privacy.hide_timestamps', false);
331 // default state of the 'remember me' checkbox of the login form
332 $this->setEmpty('privacy.remember_user_default', true);
331 333
332 $this->setEmpty('thumbnail.enable_thumbnails', true); 334 $this->setEmpty('thumbnail.enable_thumbnails', true);
333 $this->setEmpty('thumbnail.enable_localcache', true); 335 $this->setEmpty('thumbnail.enable_localcache', true);