Browse Source

Fix strict errors.

mark_story 13 years ago
parent
commit
19c2a58185
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Controller/Component/Auth/DigestAuthenticate.php

+ 1 - 1
lib/Cake/Controller/Component/Auth/DigestAuthenticate.php

@@ -157,7 +157,7 @@ class DigestAuthenticate extends BaseAuthenticate {
  * @param string $password Unused password, digest doesn't require passwords.
  * @return Mixed Either false on failure, or an array of user data.
  */
-	protected function _findUser($username, $password) {
+	protected function _findUser($username, $password = null) {
 		$userModel = $this->settings['userModel'];
 		list($plugin, $model) = pluginSplit($userModel);
 		$fields = $this->settings['fields'];