summaryrefslogtreecommitdiff
path: root/src/chttpd_auth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/chttpd_auth.erl')
-rw-r--r--src/chttpd_auth.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_auth.erl b/src/chttpd_auth.erl
index b15bc933..d1e9a7a5 100644
--- a/src/chttpd_auth.erl
+++ b/src/chttpd_auth.erl
@@ -233,7 +233,7 @@ ensure_users_db_exists(DbName) ->
basic_username_pw(Req) ->
case chttpd:header_value(Req, "Authorization") of
"Basic " ++ Base64Value ->
- case string:tokens(?b2l(couch_util:decodeBase64(Base64Value)),":") of
+ case string:tokens(?b2l(base64:decode(Base64Value)),":") of
[User, Pass] ->
{User, Pass};
[User] ->