Github user rnewson commented on a diff in the pull request:
https://github.com/apache/couchdb/pull/152#discussion_r9862457
--- Diff: src/couchdb/couch_httpd_auth.erl ---
@@ -68,11 +68,13 @@ default_authentication_handler(Req) ->
nil ->
throw({unauthorized, <<"Name or password is
incorrect.">>});
UserProps ->
- case authenticate(?l2b(Pass), UserProps) of
+ Password = ?l2b(Pass),
+ UserProps2 = maybe_upgrade_password_hash(Password,
UserProps),
+ case authenticate(Password, UserProps2) of
--- End diff --
yes, that's what I was saying in my comment. :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
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.
---