couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch commit: updated refs/heads/master to 4e7b626
Date Sat, 30 Jul 2016 18:54:20 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master a128c2cc6 -> 4e7b6265b


Don't set "authenticated" if party_mode_handler sets user context

Patch suggested by Ilya.

COUCHDB-3084


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/4e7b6265
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/4e7b6265
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/4e7b6265

Branch: refs/heads/master
Commit: 4e7b6265b3be88bed97572b50a412b470bf680d1
Parents: a128c2c
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Jul 27 20:07:23 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 27 20:07:23 2016 +0100

----------------------------------------------------------------------
 src/couch_httpd.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/4e7b6265/src/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd.erl b/src/couch_httpd.erl
index 2dd6ed2..7c4e573 100644
--- a/src/couch_httpd.erl
+++ b/src/couch_httpd.erl
@@ -170,7 +170,7 @@ set_auth_handlers() ->
     AuthHandlers = lists:map(
         fun(A) -> {auth_handler_name(A), make_arity_1_fun(A)} end, AuthenticationSrcs),
     AuthenticationFuns = AuthHandlers ++ [
-        {<<"local">>, fun couch_httpd_auth:party_mode_handler/1} %% should be
last
+        fun couch_httpd_auth:party_mode_handler/1 %% must be last
     ],
     ok = application:set_env(couch, auth_handlers, AuthenticationFuns).
 


Mime
View raw message