diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-09-18 21:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 21:25:02 +0200 |
commit | fc1c1b8869817f5864c72d57385761b9124603da (patch) | |
tree | 4798f2e5ac2547cac90cfe5f316f3a5664f2cc4f /application/config | |
parent | ceb738c59163b47e9c875764c9d3223bbc1eba24 (diff) | |
parent | 27e21231e168e5a2a89563b2538a4f86df24e582 (diff) | |
download | Shaarli-fc1c1b8869817f5864c72d57385761b9124603da.tar.gz Shaarli-fc1c1b8869817f5864c72d57385761b9124603da.tar.zst Shaarli-fc1c1b8869817f5864c72d57385761b9124603da.zip |
Merge pull request #961 from thewilli/private-shaarli-login-redirect
added option to redirect all anonymous users to login page
Diffstat (limited to 'application/config')
-rw-r--r-- | application/config/ConfigManager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/config/ConfigManager.php b/application/config/ConfigManager.php index fdd5b3d7..32f6ef6d 100644 --- a/application/config/ConfigManager.php +++ b/application/config/ConfigManager.php | |||
@@ -327,6 +327,7 @@ class ConfigManager | |||
327 | 327 | ||
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.force_login', false); | ||
330 | $this->setEmpty('privacy.hide_timestamps', false); | 331 | $this->setEmpty('privacy.hide_timestamps', false); |
331 | // default state of the 'remember me' checkbox of the login form | 332 | // default state of the 'remember me' checkbox of the login form |
332 | $this->setEmpty('privacy.remember_user_default', true); | 333 | $this->setEmpty('privacy.remember_user_default', true); |