Skip to content
This repository
Browse code

minor example edits

  • Loading branch information...
commit ee18930d2afa8c64cbbe04ae69dc78321091f1e8 1 parent f2b10c2
Mike de Boer authored

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. +1 3 examples/addressbookserver.js
4 examples/addressbookserver.js
@@ -40,7 +40,7 @@ var redis = Db.redisConnection();
40 40 // set it up for demo use:
41 41 redis.multi([
42 42 ["FLUSHDB"],
43   - // create user admin. NOTE: if you change the real to something other than 'jsDAV',
  43 + // create user admin. NOTE: if you change the realm to something other than 'jsDAV',
44 44 // you need to change the hash below here to: md5("<username>:<realm>:<password>").
45 45 ["SET", "users/admin", "6838d8a7454372f68a6abffbdb58911c"],
46 46 // create the initial ACL rules for user 'admin'
@@ -59,12 +59,10 @@ redis.multi([
59 59 var authBackend = jsDAV_Auth_Backend_Redis.new(redis);
60 60 var principalBackend = jsDAVACL_PrincipalBackend_Redis.new(redis);
61 61 var carddavBackend = jsCardDAV_Backend_Redis.new(redis);
62   - //var caldavBackend = jsCalDAV_Backend_Redis(redis);
63 62
64 63 // Setting up the directory tree //
65 64 var nodes = [
66 65 jsDAVACL_PrincipalCollection.new(principalBackend),
67   - //jsCalDAV_CalendarRootNode.new(authBackend, caldavBackend),
68 66 jsCardDAV_AddressBookRoot.new(principalBackend, carddavBackend),
69 67 ];
70 68

0 comments on commit ee18930

Please sign in to comment.
Something went wrong with that request. Please try again.