mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 10:42:02 +05:30
wrong comment "month"
This commit is contained in:
parent
e885114714
commit
20535ad95b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user