mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-11 14:22:19 +05:30
Merge pull request #576 from stratoss/stratoss-patch-1
Adding missing variable
This commit is contained in:
commit
7db69cceb6
@ -61,7 +61,7 @@ $server = new \League\OAuth2\Server\AuthorizationServer(
|
||||
|
||||
// Enable the implicit grant on the server
|
||||
$server->enableGrantType(
|
||||
new ImplicitGrant(),
|
||||
new ImplicitGrant(new \DateInterval('PT1H')),
|
||||
new \DateInterval('PT1H') // access tokens will expire after 1 hour
|
||||
);
|
||||
{% endhighlight %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user