File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 2020 },
2121 "require-dev" : {
2222 "nette/di" : " ^3.1" ,
23- "nette/http" : " ^3.2 " ,
23+ "nette/http" : " ^4.0 " ,
2424 "nette/tester" : " ^2.5" ,
2525 "tracy/tracy" : " ^2.9" ,
2626 "phpstan/phpstan-nette" : " ^2.0@stable" ,
2727 "mockery/mockery" : " ^1.6@stable"
2828 },
2929 "conflict" : {
3030 "nette/di" : " <3.0-stable" ,
31- "nette/http" : " <3.1.3 "
31+ "nette/http" : " <4 "
3232 },
3333 "autoload" : {
3434 "classmap" : [" src/" ],
Original file line number Diff line number Diff line change @@ -50,11 +50,8 @@ public function saveAuthentication(IIdentity $identity): void
5050 $ this ->cookieName ,
5151 $ uid ,
5252 $ this ->cookieExpiration ,
53- null ,
54- $ this ->cookieDomain ,
55- null ,
56- true ,
57- $ this ->cookieSameSite ,
53+ domain: $ this ->cookieDomain ,
54+ sameSite: $ this ->cookieSameSite ,
5855 );
5956 }
6057
@@ -64,8 +61,7 @@ public function clearAuthentication(bool $clearIdentity): void
6461 $ this ->uid = '' ;
6562 $ this ->response ->deleteCookie (
6663 $ this ->cookieName ,
67- null ,
68- $ this ->cookieDomain ,
64+ domain: $ this ->cookieDomain ,
6965 );
7066 }
7167
You can’t perform that action at this time.
0 commit comments