pierrekilly commented on a change in pull request #1160: Add support for Bcrypt 
password hashing
URL: https://github.com/apache/couchdb/pull/1160#discussion_r167858059
 
 

 ##########
 File path: src/couch/src/couch_users_db.erl
 ##########
 @@ -84,6 +85,13 @@ save_doc(#doc{body={Body}} = Doc) ->
         Body3 = ?replace(Body2, ?SALT, Salt),
         Body4 = proplists:delete(?PASSWORD, Body3),
         Doc#doc{body={Body4}};
+    {ClearPassword, "bcrypt"} ->
+        Iterations = list_to_integer(config:get("couch_httpd_auth", 
"iterations", "12")),
 
 Review comment:
   Same as before, will rename it as `log_rounds` to prevent misunderstanding.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to