Hi,

my code:

var userDoc = CouchDB.prepareUserDoc({
  name: "Gaius Baltar"
}, "secret");
db.save(userDoc);
CouchDB.login("Gaius Baltar", "secret");

Why does the last line get me a 401 Unauthorized?

According to the cookie_auth.js test, it should work like this. Am I missing something?

Cheers, Lena


--
http://lenaherrmann.net

Reply via email to