Skip to content

Commit

Permalink
下層ディレクトリにec-cubeを配置した場合、cookieのパスを正しく設定できていなかった不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
chihiro-adachi committed Sep 2, 2021
1 parent 8201802 commit 4463d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eccube/Service/TwoFactorAuthService.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function createAuthedCookie($Member)
$this->cookieName, // name
json_encode($configs), // value
($this->expire == 0 ? 0 : time() + ($this->expire * 24 * 60 * 60)), // expire
'/'.$this->eccubeConfig->get('eccube_admin_route'), // path
$this->request->getBasePath().'/'.$this->eccubeConfig->get('eccube_admin_route'), //path
null, // domain
($this->eccubeConfig->get('eccube_force_ssl') ? true : false), // secure
true, // httpOnly
Expand Down

0 comments on commit 4463d06

Please sign in to comment.