Browse Source

Fix visibility

ADmad 10 years ago
parent
commit
08d67a6393
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Auth/BaseAuthenticate.php

+ 1 - 1
src/Auth/BaseAuthenticate.php

@@ -128,7 +128,7 @@ abstract class BaseAuthenticate implements EventListenerInterface
      * @param string $username The username/identifier.
      * @return \Cake\ORM\Query
      */
-    public function _query($username)
+    protected function _query($username)
     {
         $config = $this->_config;
         $table = TableRegistry::get($this->_config['userModel']);