diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-09 21:32:40 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 11:18:48 -0400 |
commit | ff2c290a40754cb9aa87dbba0bdbb633e1fc4295 (patch) | |
tree | ab1847e40d8ca35fc1d4d432fd812430c8f61169 /src/chttpd_auth.erl | |
parent | f8f690c293a52b961e232a36819777a7105abb92 (diff) |
use base64 library instead of old couch_util impl
Diffstat (limited to 'src/chttpd_auth.erl')
-rw-r--r-- | src/chttpd_auth.erl | 2 |
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] -> |