From d99e871e117784ba2f8b478d7d2af19824a0e20b Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 23 Dec 2012 20:31:16 +0000 Subject: [PATCH] Set a default token ttl of one hour --- src/Oauth2/Authentication/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Oauth2/Authentication/Server.php b/src/Oauth2/Authentication/Server.php index 3e295626..a3c825ed 100644 --- a/src/Oauth2/Authentication/Server.php +++ b/src/Oauth2/Authentication/Server.php @@ -30,8 +30,8 @@ class Server * @var array */ private $_config = array( - 'scope_delimeter' => ',', - 'access_token_ttl' => null + 'scope_delimeter' => ',', + 'access_token_ttl' => 3600 ); /**