Github user iilyak commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch/pull/81#discussion_r36313029
  
    --- Diff: src/couch_httpd_auth.erl ---
    @@ -346,10 +346,10 @@ handle_session_req(#httpd{method='GET', 
user_ctx=UserCtx}=Req, _AuthModule) ->
                     ]}},
                     {info, {[
                         {authentication_db, 
?l2b(config:get("couch_httpd_auth", "authentication_db"))},
    -                    {authentication_handlers, [auth_name(H) || H <- 
couch_httpd:make_fun_spec_strs(
    -                            config:get("httpd", 
"authentication_handlers"))]}
    --- End diff --
    
    The way `authentication_handlers` were implemented is inconsistent anyway. 
The chttpd app has them hardcoded. It also doesn't set the value for 
`UserCtx#user_ctx.handler`. So `authenticated` field is completely missing if 
called on clustered interface. I'll think about it more. What would be your 
suggestions? Any hints?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to