Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12623E4F2 for ; Mon, 4 Feb 2013 22:50:29 +0000 (UTC) Received: (qmail 48316 invoked by uid 500); 4 Feb 2013 22:50:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48225 invoked by uid 500); 4 Feb 2013 22:50:27 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 48216 invoked by uid 99); 4 Feb 2013 22:50:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 22:50:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pulkitsinghal@gmail.com designates 209.85.217.169 as permitted sender) Received: from [209.85.217.169] (HELO mail-lb0-f169.google.com) (209.85.217.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 22:50:19 +0000 Received: by mail-lb0-f169.google.com with SMTP id m4so7125872lbo.14 for ; Mon, 04 Feb 2013 14:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=xKFP4V1eZh7lsjoDl8K1+XDRbgjXBlMaEkrUjVpWLiQ=; b=BBH/FZNcLsS62bRdHTqcq60F4N+MFrCiQNmT2JZQaioyKLU+hnxrSeQiuOIb6LPZzM w/OXzmlLXsj0nMKbnChnHsLfBgEmj0cqAYNNo8pKaRvQ6bKUlsnmOuFBjM5CY8H/u/lj p3HXi79pFBY1JTjc1KmdHRcw9ONyuK2/nF47VGirA/pQLLSMUReE0jV6VIrWeJDtgHoQ nhdICnjdi1fA3Q98BV5fm6r84AT5QZx6tgGsmx4EYvn7uYFP1g6PIHRo1+GEMNZErH1i 6UEmpnO0iaiG45a5USC+cS9/4y/8FKOskahVjgYcL+IgMXyE0FxAYI2Zhpe9V7VyHCjI a+gg== MIME-Version: 1.0 X-Received: by 10.152.113.66 with SMTP id iw2mr20527271lab.37.1360018198974; Mon, 04 Feb 2013 14:49:58 -0800 (PST) Received: by 10.114.93.233 with HTTP; Mon, 4 Feb 2013 14:49:58 -0800 (PST) Date: Mon, 4 Feb 2013 16:49:58 -0600 Message-ID: Subject: Updating a user document in _users db From: Pulkit Singhal To: couchdb-user@apache.org Content-Type: multipart/alternative; boundary=f46d04089159a34fee04d4ede95a X-Virus-Checked: Checked by ClamAV on apache.org --f46d04089159a34fee04d4ede95a Content-Type: text/plain; charset=UTF-8 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 --f46d04089159a34fee04d4ede95a--