Permalink
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...
rnewson committed Feb 2, 2011
1 parent 5dcb5bf commit 4304e762ff44175d34882ea7655c9b361e28c177
Showing with 1 addition and 3 deletions.
  1. +1 −3 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;

0 comments on commit 4304e76

Please sign in to comment.