Browse Source

Remove un-necessary parameter.

mark_story 13 years ago
parent
commit
6a95b5746a
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

@@ -138,7 +138,7 @@ class DigestAuthenticate extends BaseAuthenticate {
 		if (empty($digest)) {
 			return false;
 		}
-		$user = $this->_findUser($digest['username'], null);
+		$user = $this->_findUser($digest['username']);
 		if (empty($user)) {
 			return false;
 		}