]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/config/ConfigManager.php
added option to redirect all anonymous users to login page
[github/shaarli/Shaarli.git] / application / config / ConfigManager.php
index 0fc5a5c7f2b319401fe698c77a88b1fcb0786f62..32f6ef6db5418044a12fd92959e19a2d7634a029 100644 (file)
@@ -327,7 +327,10 @@ class ConfigManager
 
         $this->setEmpty('privacy.default_private_links', false);
         $this->setEmpty('privacy.hide_public_links', false);
+        $this->setEmpty('privacy.force_login', false);
         $this->setEmpty('privacy.hide_timestamps', false);
+        // default state of the 'remember me' checkbox of the login form
+        $this->setEmpty('privacy.remember_user_default', true);
 
         $this->setEmpty('thumbnail.enable_thumbnails', true);
         $this->setEmpty('thumbnail.enable_localcache', true);