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 /doc | |
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 'doc')
-rw-r--r-- | doc/md/Shaarli-configuration.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/md/Shaarli-configuration.md b/doc/md/Shaarli-configuration.md index d90e95eb..37486414 100644 --- a/doc/md/Shaarli-configuration.md +++ b/doc/md/Shaarli-configuration.md | |||
@@ -90,6 +90,7 @@ _These settings should not be edited_ | |||
90 | 90 | ||
91 | - **default_private_links**: Check the private checkbox by default for every new link. | 91 | - **default_private_links**: Check the private checkbox by default for every new link. |
92 | - **hide_public_links**: All links are hidden while logged out. | 92 | - **hide_public_links**: All links are hidden while logged out. |
93 | - **force_login**: if **hide_public_links** and this are set to `true`, all anonymous users are redirected to the login page. | ||
93 | - **hide_timestamps**: Timestamps are hidden. | 94 | - **hide_timestamps**: Timestamps are hidden. |
94 | - **remember_user_default**: Default state of the login page's *remember me* checkbox | 95 | - **remember_user_default**: Default state of the login page's *remember me* checkbox |
95 | - `true`: checked by default, `false`: unchecked by default | 96 | - `true`: checked by default, `false`: unchecked by default |
@@ -194,6 +195,7 @@ _These settings should not be edited_ | |||
194 | "privacy": { | 195 | "privacy": { |
195 | "default_private_links": true, | 196 | "default_private_links": true, |
196 | "hide_public_links": false, | 197 | "hide_public_links": false, |
198 | "force_login": false, | ||
197 | "hide_timestamps": false, | 199 | "hide_timestamps": false, |
198 | "remember_user_default": true | 200 | "remember_user_default": true |
199 | }, | 201 | }, |