Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleaner fix for COUCHDB-969

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066597 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 4304e762ff44175d34882ea7655c9b361e28c177 1 parent 5dcb5bf
@rnewson rnewson authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/couchdb/couch_httpd_auth.erl
View
4 src/couchdb/couch_httpd_auth.erl
@@ -53,10 +53,8 @@ basic_name_pw(Req) ->
nil;
[User, Pass] ->
{User, Pass};
- [User | Pass] when is_list(Pass) ->
+ [User | Pass] ->
{User, string:join(Pass, ":")};
- [User] ->
- {User, ""};
_ ->
nil
end;
Please sign in to comment.
Something went wrong with that request. Please try again.