You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/09/28 16:49:35 UTC

[06/39] couchdb commit: updated refs/heads/developer-preview-2.0 to 3ac3db6

change couch_httpd_csrf section to csrf


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

Branch: refs/heads/developer-preview-2.0
Commit: b3c53672d1a8543b480dd46e6e6211ead1ed8619
Parents: 6286e88
Author: Robert Newson <rn...@apache.org>
Authored: Sat Aug 8 13:26:19 2015 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Sat Aug 8 13:26:19 2015 +0100

----------------------------------------------------------------------
 dev/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/b3c53672/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index db0953c..74c51b0 100755
--- a/dev/run
+++ b/dev/run
@@ -219,7 +219,7 @@ def hack_local_ini(ctx, contents):
     previous_line = "; require_valid_user = false\n"
     contents = contents.replace(previous_line, previous_line + secret_line)
 
-    csrf_secret = '\n\n[couch_httpd_csrf]\nsecret = %s\n' % COMMON_CSRF_SECRET
+    csrf_secret = '\n\n[csrf]\nsecret = %s\n' % COMMON_CSRF_SECRET
 
     if ctx['with_admin_party']:
         ctx['admin'] = ('Admin Party!', 'You do not need any password.')