couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <>
Subject Re: Updating a user document in _users db
Date Mon, 04 Feb 2013 23:28:55 GMT
You either have to include them or use an update handler.  An update
handler can just modify some of the fields and leave the others untouched.

On Mon, Feb 4, 2013 at 2:49 PM, Pulkit Singhal <>wrote:

> If I want to update a user document in the _users db but I don't attach the
> password_sha and salt fields ... does that mean that those fields will be
> cleared from my document and the user will go back to not having a
> password?
> Should I perform an update with those fields included as well?
> I'm talking about CouchDB v1.2.0 in particular but if someone wants to
> share info about another version, I'm listening.
> - Pulkit

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message