From 26a683f36f1489524f64f9e18597b8694e092391 Mon Sep 17 00:00:00 2001 From: Yaser Naderi Date: Fri, 3 Nov 2017 14:53:54 -0400 Subject: [PATCH] - DigestAuthenticate modification for cakephp 2.X --- lib/Cake/Controller/Component/Auth/DigestAuthenticate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php b/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php index f1ba711cd..581a3798d 100644 --- a/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php +++ b/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php @@ -44,7 +44,7 @@ App::uses('BasicAuthenticate', 'Controller/Component/Auth'); * Due to the Digest authentication specification, digest auth requires a special password value. You * can generate this password using `DigestAuthenticate::password()` * - * `$digestPass = DigestAuthenticate::password($username, env('SERVER_NAME'), $password);` + * `$digestPass = DigestAuthenticate::password($username, $passwordm env('SERVER_NAME'));` * * Its recommended that you store this digest auth only password separate from password hashes used for other * login methods. For example `User.digest_pass` could be used for a digest password, while `User.password` would