From 99407282e5c6bfda96b7ff311138b6007acc7852 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Wed, 15 Dec 2010 01:51:00 -0200 Subject: [PATCH] Updated the config of auth in digest method. --- cake/libs/http/digest_authentication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/http/digest_authentication.php b/cake/libs/http/digest_authentication.php index ba146e2fc..adcc9dd9d 100644 --- a/cake/libs/http/digest_authentication.php +++ b/cake/libs/http/digest_authentication.php @@ -53,10 +53,10 @@ class DigestAuthentication { */ protected static function _getServerInformation(HttpSocket $http, &$authInfo) { $originalRequest = $http->request; - $http->setAuthConfig(false); + $http->configAuth(false); $http->request($http->request); $http->request = $originalRequest; - $http->setAuthConfig('Digest', $authInfo); + $http->configAuth('Digest', $authInfo); if (empty($http->response['header']['WWW-Authenticate'])) { return false;