mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 10:42:02 +05:30
Corrected DateInterval from 1 min to 1 month
This commit is contained in:
parent
ded7c1ed47
commit
13c608b849
@ -62,7 +62,7 @@ $app = new App([
|
|||||||
// Enable the refresh token grant on the server with a token TTL of 1 month
|
// Enable the refresh token grant on the server with a token TTL of 1 month
|
||||||
$server->enableGrantType(
|
$server->enableGrantType(
|
||||||
new RefreshTokenGrant($refreshTokenRepository),
|
new RefreshTokenGrant($refreshTokenRepository),
|
||||||
new \DateInterval('PT1M')
|
new \DateInterval('P1M')
|
||||||
);
|
);
|
||||||
|
|
||||||
return $server;
|
return $server;
|
||||||
|
Loading…
Reference in New Issue
Block a user