You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm seeing something weird in my app right now when calling Authentication->setIdentity. The Session.ini.session.cookie_path is getting overriden with /. In Cake\Http\Session I can see an empty array sent to __construct which means this evaluates to that /.
Since you tracked down the session construction, what is the stacktrace for the session creation? Generally it is supposed to happen during ServerRequestFactory::fromGlobals() during Http server setup, so the configuration should be present unless you are setting configuration after the request has been made.
Hello. I'm seeing something weird in my app right now when calling
Authentication->setIdentity
. TheSession.ini.session.cookie_path
is getting overriden with/
. InCake\Http\Session
I can see an empty array sent to__construct
which means this evaluates to that/
.My cookie will respect all the other ini options I'm setting in my config (
cookie_samesite
,cookie_lifetime
), but notcookie_path
.cakephp/cakephp version: 4.3.10
cakephp/authentication version: 2.9.0
The text was updated successfully, but these errors were encountered: