summaryrefslogtreecommitdiff
path: root/share/www/script/test
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-09-02 09:35:05 +0000
committerJan Lehnardt <jan@apache.org>2009-09-02 09:35:05 +0000
commit2fa163c599b81018a60790cb7a0400e21e8d6d89 (patch)
tree9393a34cdeeb80c0b550292dd9c843551f3f3e54 /share/www/script/test
parenta6a8f53c6d098f996cb85bf088af6766f2153abc (diff)
use the same password hash calculation for user creation via ini file and user db, patch by Benoit Chesneau, closes COUCHDB-492
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@810435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test')
-rw-r--r--share/www/script/test/cookie_auth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/cookie_auth.js b/share/www/script/test/cookie_auth.js
index b1ef6880..d029e851 100644
--- a/share/www/script/test/cookie_auth.js
+++ b/share/www/script/test/cookie_auth.js
@@ -40,7 +40,7 @@ couchTests.cookie_auth = function(debug) {
T(usersDb.save({
_id: "a1",
salt: "123",
- password_sha: "8da1CtkFvb58LWrnup5chgdZVUs=",
+ password_sha: hex_sha1(password + "123"),
username: "Jason Davies",
author: "Jason Davies",
type: "user",