Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch/pull/60#discussion_r33027996
  
    --- Diff: src/couch_users_db.erl ---
    @@ -71,7 +82,9 @@ save_doc(#doc{body={Body}} = Doc) ->
             Body2 = ?replace(Body1, ?DERIVED_KEY, DerivedKey),
             Body3 = ?replace(Body2, ?SALT, Salt),
             Body4 = proplists:delete(?PASSWORD, Body3),
    -        Doc#doc{body={Body4}}
    +        Doc#doc{body={Body4}};
    +    {_ClearPassword, _Scheme} ->
    +        throw({forbidden, "Server cannot hash passwords at this time."})
    --- End diff --
    
    May be explicitly return response that specified Scheme is not supported 
now?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to