Skip to content

Commit

Permalink
Merge pull request #5142 from chihiro-adachi/fix-two-factor-auth-cookie
Browse files Browse the repository at this point in the history
下層ディレクトリにec-cubeを設置した場合、2段階認証のトークン入力に失敗する不具合の修正
  • Loading branch information
matsuoshi authored Sep 3, 2021
2 parents b7ea9fb + 4463d06 commit 5691c3b
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 5691c3b

Please sign in to comment.