From d00a4002f11157b9198a5e5dca077a7d0fb58302 Mon Sep 17 00:00:00 2001 From: Q Date: Fri, 15 May 2015 15:25:01 +0200 Subject: [PATCH] Fixes issue where full product page is ajaxed into a product detail page. Product page inception, bro --- src/OAuth2/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/Server.php b/src/OAuth2/Server.php index c98901853..bdd9c5c0f 100644 --- a/src/OAuth2/Server.php +++ b/src/OAuth2/Server.php @@ -693,7 +693,7 @@ protected function createDefaultJwtAccessTokenResponseType() $refreshStorage = $this->storages['refresh_token']; } - $config = array_intersect_key($this->config, array_flip(explode(' ', 'store_encrypted_token_string issuer'))); + $config = array_intersect_key($this->config, array_flip(explode(' ', 'store_encrypted_token_string issuer access_lifetime refresh_token_lifetime'))); return new JwtAccessToken($this->storages['public_key'], $tokenStorage, $refreshStorage, $config); }