summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_auth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_httpd_auth.erl')
-rw-r--r--src/couchdb/couch_httpd_auth.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl
index 29a50eb5..f2974836 100644
--- a/src/couchdb/couch_httpd_auth.erl
+++ b/src/couchdb/couch_httpd_auth.erl
@@ -475,7 +475,7 @@ handle_user_req(#httpd{method='PUT', path_parts=[_, UserName]}=Req) ->
{ok, Db} -> update_user_req(Req, Db, UserName)
end;
handle_user_req(Req) ->
- send_method_not_allowed(Req, "GET,HEAD,POST,PUT,DELETE").
+ send_method_not_allowed(Req, "POST,PUT").
to_int(Value) when is_binary(Value) ->
to_int(?b2l(Value));