ソースを参照

Merge pull request #6213 from Lo-X/master

 DigestAuthenticate documentation argument order for password()
Mark S. 11 年 前
コミット
db345832c9
1 ファイル変更1 行追加1 行削除
  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