We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d472ec1 commit 246f335Copy full SHA for 246f335
1 file changed
system/Security/Security.php
@@ -13,6 +13,7 @@
13
14
use CodeIgniter\Cookie\Cookie;
15
use CodeIgniter\HTTP\RequestInterface;
16
+use CodeIgniter\HTTP\Response;
17
use CodeIgniter\Security\Exceptions\SecurityException;
18
use CodeIgniter\Session\Session;
19
use Config\App;
@@ -529,6 +530,7 @@ private function saveHashInCookie(): void
529
530
]
531
);
532
533
+ /** @var Response $response */
534
$response = Services::response();
535
$cookieStore = $response->getCookieStore();
536
$cookieStore = $cookieStore->put($this->cookie);
0 commit comments