diff options
-rw-r--r-- | src/couchdb/couch_httpd_auth.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl index a370ebdf..2111c009 100644 --- a/src/couchdb/couch_httpd_auth.erl +++ b/src/couchdb/couch_httpd_auth.erl @@ -53,6 +53,8 @@ basic_name_pw(Req) -> nil; [User, Pass] -> {User, Pass}; + [User | Pass] -> + {User, string:join(Pass, ":")}; [User] -> {User, ""}; _ -> |