You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fl...@apache.org on 2019/02/10 09:24:56 UTC
[couchdb-documentation] branch master updated: Mention
[couch_httpd_auth] cookie_domain (#388)
This is an automated email from the ASF dual-hosted git repository.
flimzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 31477d1 Mention [couch_httpd_auth] cookie_domain (#388)
31477d1 is described below
commit 31477d1cb50a28c5fef248539480db198192dbc0
Author: Clemens Stolle <kl...@fastmail.fm>
AuthorDate: Sun Feb 10 10:24:52 2019 +0100
Mention [couch_httpd_auth] cookie_domain (#388)
* Mention [couch_httpd_auth] cookie_domain
ref: https://github.com/apache/couchdb/pull/827
* remove extra whitespace
---
src/config/auth.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/config/auth.rst b/src/config/auth.rst
index 4d2cc51..5e2f2c6 100644
--- a/src/config/auth.rst
+++ b/src/config/auth.rst
@@ -133,6 +133,16 @@ Authentication Configuration
[couch_httpd_auth]
allow_persistent_cookies = false
+ .. config:option:: cookie_domain :: Cookie Domain
+
+ .. versionadded:: 2.1.1
+
+ Configures the ``domain`` attribute of the ``AuthSession`` cookie. By default the
+ ``domain`` attribute is empty, resulting in the cookie being set on CouchDB's domain. ::
+
+ [couch_httpd_auth]
+ cookie_domain = example.com
+
.. config:option:: auth_cache_size :: Authentication cache
Number of :ref:`userctx_object` to cache in memory, to reduce disk