Browse Source

Merge pull request #6213 from Lo-X/master

 DigestAuthenticate documentation argument order for password()
Mark S. 11 years ago
parent
commit
db345832c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Auth/DigestAuthenticate.php

+ 1 - 1
src/Auth/DigestAuthenticate.php

@@ -51,7 +51,7 @@ use Cake\Network\Request;
  * DigestAuthenticate requires a special password hash that conforms to RFC2617.
  * You can generate this password using `DigestAuthenticate::password()`
  *
- * `$digestPass = DigestAuthenticate::password($username, env('SERVER_NAME'), $password);`
+ * `$digestPass = DigestAuthenticate::password($username, $password, env('SERVER_NAME'));`
  *
  * If you wish to use digest authentication alongside other authentication methods,
  * it's recommended that you store the digest authentication separately. For