Corrected DateInterval from 1 min to 1 month

This commit is contained in:
Toby Griffiths 2017-03-01 13:08:42 +00:00 committed by GitHub
parent ded7c1ed47
commit 13c608b849

View File

@ -62,7 +62,7 @@ $app = new App([
// Enable the refresh token grant on the server with a token TTL of 1 month
$server->enableGrantType(
new RefreshTokenGrant($refreshTokenRepository),
new \DateInterval('PT1M')
new \DateInterval('P1M')
);
return $server;