Merge pull request #576 from stratoss/stratoss-patch-1

Adding missing variable
This commit is contained in:
Alex Bilbie 2016-06-28 09:25:40 +01:00 committed by GitHub
commit 7db69cceb6

View File

@ -61,7 +61,7 @@ $server = new \League\OAuth2\Server\AuthorizationServer(
// Enable the implicit grant on the server // Enable the implicit grant on the server
$server->enableGrantType( $server->enableGrantType(
new ImplicitGrant(), new ImplicitGrant(new \DateInterval('PT1H')),
new \DateInterval('PT1H') // access tokens will expire after 1 hour new \DateInterval('PT1H') // access tokens will expire after 1 hour
); );
{% endhighlight %} {% endhighlight %}