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