[resolved] Cakephp/authentication : how to log user?

Hi ! i’m using the auth plugin (https://github.com/cakephp/authentication) with Cake4, and it work fine, but i’m not able to find a replacement for : $this->Auth->setUser

how can i “force log” users ?

best regards

$this->Authentication->setIdentity

2 Likes

I missed the line in the doc, thank you !