PGBI/cakephp3-soft-delete

Auth login not working with sofdelete plugin

munib opened this issue · 1 comments

munib commented

// \App\Model\Table\Users
use SoftDelete\Model\Table\SoftDeleteTrait;

class AqiUsersTable extends Table
{
use SoftDeleteTrait;

after adding above code $this->Auth->login() stop working. but If I comment "// use SoftDeleteTrait;" auth login works fine. I try to debug, It seems like this issue is somehow related to triggerBeforeFind function inside SoftDelete\ORM\Query. can you please take some time to debug this.

This plugin is works like charm only login not working. please help if possible.

munib commented

I found the problem. My user table delete column is not null so I face this issue. sorry to disturb. I am feel like a stupid. :D