Merge pull request #11404 from ynaderi/2.x

- DigestAuthenticate modification for cakephp 2.X
This commit is contained in:
Mark Story 2017-11-05 22:34:17 -05:00 committed by GitHub
commit b175270f62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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