summaryrefslogtreecommitdiff
path: root/etc/couchdb/default.ini.tpl.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/couchdb/default.ini.tpl.in')
-rw-r--r--etc/couchdb/default.ini.tpl.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 71656d26..409bfe98 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -17,9 +17,8 @@ batch_save_interval = 1000 ; milliseconds after which to save batches
[httpd]
port = 5984
bind_address = 127.0.0.1
-authentication_handlers = {couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
+authentication_handlers = {couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
default_handler = {couch_httpd_db, handle_request}
-WWW-Authenticate = Basic realm="administrator"
[log]
file = %localstatelogdir%/couch.log
@@ -27,7 +26,6 @@ level = info
[couch_httpd_auth]
authentication_db = users
-secret = replace this with a real secret in your local.ini file
require_valid_user = false
[query_servers]
@@ -70,7 +68,6 @@ _log = {couch_httpd_misc_handlers, handle_log_req}
_sleep = {couch_httpd_misc_handlers, handle_sleep_req}
_session = {couch_httpd_auth, handle_session_req}
_oauth = {couch_httpd_oauth, handle_oauth_req}
-_user = {couch_httpd_auth, handle_user_req}
[httpd_db_handlers]
_view_cleanup = {couch_httpd_db, handle_view_cleanup_req}