mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
wrong comment "month"
This commit is contained in:
@@ -36,7 +36,7 @@ $app = new App([
|
|||||||
// Enable the password grant on the server with a token TTL of 1 hour
|
// Enable the password grant on the server with a token TTL of 1 hour
|
||||||
$server->enableGrantType(
|
$server->enableGrantType(
|
||||||
$grant,
|
$grant,
|
||||||
new \DateInterval('PT1H') // access tokens will expire after 1 month
|
new \DateInterval('PT1H') // access tokens will expire after 1 hour
|
||||||
);
|
);
|
||||||
|
|
||||||
return $server;
|
return $server;
|
||||||
|
Reference in New Issue
Block a user