cookie path
This commit is contained in:
parent
e78cf5de0e
commit
a0ed6da24d
|
@ -44,7 +44,7 @@ class Authenticate
|
||||||
if ($code) {
|
if ($code) {
|
||||||
$token = app('pd.auth')->getAccessToken($code);
|
$token = app('pd.auth')->getAccessToken($code);
|
||||||
if (isset($token['access_token'])) {
|
if (isset($token['access_token'])) {
|
||||||
setcookie(self::CookieName, $token['access_token'], strtotime($token['expired_at']));
|
setcookie(self::CookieName, $token['access_token'], strtotime($token['expired_at']), '/');
|
||||||
|
|
||||||
$qs = $request->getQueryString();
|
$qs = $request->getQueryString();
|
||||||
$params = explode('&', $qs);
|
$params = explode('&', $qs);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user