summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2018-03-27 16:29:32 +0200
committerJan Lehnardt <jan@apache.org>2018-07-09 15:40:33 +0200
commit1b15d4cc2bf9a698b1d17185febfd17d2152f995 (patch)
treeb99c467ec9032e9f77012a78b588480f5d6133ca
parent142eb6b84f1ec6352e269a84cc87ccba3c9a113f (diff)
downloadcouchdb-1b15d4cc2bf9a698b1d17185febfd17d2152f995.tar.gz
feat: remove duplicate authentication check
-rw-r--r--src/chttpd/src/chttpd_db.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index ed0adead9..776100730 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/src/chttpd_db.erl
@@ -314,7 +314,6 @@ delete_db_req(#httpd{}=Req, DbName) ->
end.
do_db_req(#httpd{path_parts=[DbName|_], user_ctx=Ctx}=Req, Fun) ->
- fabric:get_security(DbName, [{user_ctx,Ctx}]), % calls check_is_reader
{ok, Db} = couch_db:clustered_db(DbName, Ctx),
Fun(Req, Db).