- DigestAuthenticate modification for cakephp 2.X

This commit is contained in:
Yaser Naderi 2017-11-03 14:53:54 -04:00
parent 73e3c3f90d
commit 26a683f36f

View file

@ -44,7 +44,7 @@ App::uses('BasicAuthenticate', 'Controller/Component/Auth');
* Due to the Digest authentication specification, digest auth requires a special password value. You * Due to the Digest authentication specification, digest auth requires a special password value. You
* can generate this password using `DigestAuthenticate::password()` * 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 * 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 * login methods. For example `User.digest_pass` could be used for a digest password, while `User.password` would