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

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

commit a7214680595625770906bcd05fa83221de61f274
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Sat Oct 3 02:08:29 2026 -0400

    Fix proxy config default
    
    Use nil as a better value when users use proxy auth.
    
    Co-Authored-By: Ronny Berndt <[email protected]>
    (cherry picked from commit 42de08d2c197eb4618a634253ab19429ded81453)
---
 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 f10b5f455..2af2f7e62 100644
--- a/src/couch/src/couch_httpd_auth.erl
+++ b/src/couch/src/couch_httpd_auth.erl
@@ -208,7 +208,7 @@ proxy_auth_user(Req) ->
                 true ->
                     case chttpd_util:get_chttpd_auth_config("secret") of
                         undefined ->
-                            Req#httpd{user_ctx = #user_ctx{name = 
?l2b(UserName), roles = Roles}};
+                            nil;
                         _Secret ->
                             Token =
                                 try

Reply via email to