dereuromark / cakephp-tinyauth

CakePHP TinyAuth plugin for an easy and fast user authentication and authorization. Single or multi role. DB or config file based.
MIT License
127 stars 43 forks source link

Since 5.0.0: Calling `findAll` finder with options array is deprecated. Use named arguments instead. #149

Open umer936 opened 3 hours ago

umer936 commented 3 hours ago
TinyAuth\Auth\BaseAuthenticate->_query() /web/hpca/vendor/dereuromark/cakephp-tinyauth/src/Auth/BaseAuthenticate.php, line 105
TinyAuth\Auth\BaseAuthenticate->_findUser() /web/hpca/vendor/dereuromark/cakephp-tinyauth/src/Auth/FormAuthenticate.php, line 84
TinyAuth\Auth\FormAuthenticate->authenticate() /web/hpca/vendor/dereuromark/cakephp-tinyauth/src/Controller/Component/LegacyAuthComponent.php, line 770
TinyAuth\Controller\Component\LegacyAuthComponent->identify() /web/hpca/src/Controller/UsersController.php, line 36
App\Controller\UsersController->login() /web/hpca/vendor/cakephp/cakephp/src/Controller/Controller.php, line 503
Cake\Controller\Controller->invokeAction() /web/hpca/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166

It appears to be in BaseAuthenticate _query https://github.com/dereuromark/cakephp-tinyauth/blob/master/src/Auth/BaseAuthenticate.php#L158C1-L174C42 but I'm not sure how to change it correctly.

dereuromark commented 3 hours ago

Are you using the latest release?

umer936 commented 32 minutes ago

Yes, sorry I didn't specify.

            "name": "dereuromark/cakephp-tinyauth",
            "version": "4.2.0",