couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb commit: updated refs/heads/master to 4f6d586
Date Sat, 30 Jul 2016 18:56:24 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master 99be496ae -> 4f6d5865f


Don't set "authenticated" property in _session unless we authenticated

COUCHDB-3084


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

Branch: refs/heads/master
Commit: 4f6d5865f84b0e422ba9388ae86d307cd7656868
Parents: 99be496
Author: Robert Newson <rnewson@apache.org>
Authored: Sat Jul 30 19:55:23 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Sat Jul 30 19:55:23 2016 +0100

----------------------------------------------------------------------
 rebar.config.script               | 4 ++--
 test/javascript/tests/users_db.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4f6d5865/rebar.config.script
----------------------------------------------------------------------
diff --git a/rebar.config.script b/rebar.config.script
index e1d1761..09e426d 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -28,8 +28,8 @@ DepDescs = [
 %% keep these sorted
 {b64url,           "b64url",           "6895652d80f95cdf04efb14625abed868998f174"},
 {couch_log,        "couch-log",        "741d48c94a10469d2e0283acbee7592e82a992ab"},
-{chttpd,           "chttpd",           "5b6d1b1dc2809af464fc11385d558631593f0614"},
-{couch,            "couch",            "a128c2cc6a3731e4c1824553252442cd18173e36"},
+{chttpd,           "chttpd",           "3509b91537266e29709789a5f8ccc4f101f4ce54"},
+{couch,            "couch",            "4e7b6265b3be88bed97572b50a412b470bf680d1"},
 {couch_index,      "couch-index",      "e7d269800302224eacf9585f74eb30822495755b"},
 {couch_mrview,     "couch-mrview",     "157132c6e603b1870a08c04e8459a177387932ed"},
 {couch_replicator, "couch-replicator", "05247a26019ce5416e13ef80a12c307bdc790ee4"},

http://git-wip-us.apache.org/repos/asf/couchdb/blob/4f6d5865/test/javascript/tests/users_db.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/users_db.js b/test/javascript/tests/users_db.js
index 074ff31..34a7bad 100644
--- a/test/javascript/tests/users_db.js
+++ b/test/javascript/tests/users_db.js
@@ -57,14 +57,14 @@ couchTests.users_db = function(debug) {
     T(s.userCtx.name == "jchris@apache.org");
     T(s.info.authenticated == "default");
     T(s.info.authentication_db == "" + users_db_name + "");
-    TEquals(["cookie", "default", "local"], s.info.authentication_handlers);
+    TEquals(["cookie", "default"], s.info.authentication_handlers);
     var s = CouchDB.session({
       headers : {
         "Authorization" : "Basic Xzpf" // name and pass of _:_
       }
     });
     T(s.name == null);
-    T(s.info.authenticated == "local");
+    T(typeof(s.info.authenticated) === 'undefined');
     CouchDB.logout();
     
     // ok, now create a conflicting edit on the jchris doc, and make sure there's no login.


Mime
View raw message