You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2021/10/30 15:49:30 UTC

[couchdb] branch 3.x updated (aa67448 -> d0cd82c)

This is an automated email from the ASF dual-hosted git repository.

jan pushed a change to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from aa67448  Eliminate custodian false positive errors for dbs with N < default N
     new 01aed33  fix(setup): straggling s/couch_httpd_auth/chttpd_auth/ closes #3805
     new d0cd82c  fix(auth): straggling s/couch_httpd_auth/chttpd/

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/couch/src/couch_httpd_auth.erl | 2 +-
 src/setup/src/setup.erl            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

[couchdb] 01/02: fix(setup): straggling s/couch_httpd_auth/chttpd_auth/ closes #3805

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 01aed33684670f43d724b3db9dd3aade632a7d57
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Oct 29 18:06:00 2021 +0200

    fix(setup): straggling s/couch_httpd_auth/chttpd_auth/ closes #3805
---
 src/setup/src/setup.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/setup/src/setup.erl b/src/setup/src/setup.erl
index 5129765..56773e4 100644
--- a/src/setup/src/setup.erl
+++ b/src/setup/src/setup.erl
@@ -254,8 +254,8 @@ sync_uuid() ->
     sync_config("couchdb", "uuid", Uuid).
 
 sync_auth_secret() ->
-    Secret = config:get("couch_httpd_auth", "secret"),
-    sync_config("couch_httpd_auth", "secret", Secret).
+    Secret = config:get("chttpd_auth", "secret"),
+    sync_config("chttpd_auth", "secret", Secret).
 
 
 sync_config(Section, Key, Value) ->

[couchdb] 02/02: fix(auth): straggling s/couch_httpd_auth/chttpd/

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d0cd82c2ab53b1075b22f813364abe6c1dc46255
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Sat Oct 30 10:59:08 2021 +0200

    fix(auth): straggling s/couch_httpd_auth/chttpd/
---
 src/couch/src/couch_httpd_auth.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_httpd_auth.erl b/src/couch/src/couch_httpd_auth.erl
index dfc9394..01a210d 100644
--- a/src/couch/src/couch_httpd_auth.erl
+++ b/src/couch/src/couch_httpd_auth.erl
@@ -315,7 +315,7 @@ ensure_cookie_auth_secret() ->
     case chttpd_util:get_chttpd_auth_config("secret") of
         undefined ->
             NewSecret = ?b2l(couch_uuids:random()),
-            config:set("couch_httpd_auth", "secret", NewSecret),
+            config:set("chttpd_auth", "secret", NewSecret),
             NewSecret;
         Secret -> Secret
     end.