From 1f1f0d8f15e2b0f4f9af6997afd97b89bf9456fd Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 5 Apr 2015 21:14:06 +0100 Subject: [PATCH] Added PasswordGrantProvider to container --- src/AbstractServer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AbstractServer.php b/src/AbstractServer.php index fe196167..eba3f2be 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -44,7 +44,8 @@ abstract class AbstractServer implements ContainerAwareInterface, EmitterAwareIn { $this->setContainer(new Container()); $this->getContainer()->singleton('emitter', $this->getEmitter()); - $this->getContainer()->addServiceProvider('League\OAuth2\Server\ServiceProviders\ClientCredentialsGrantServerProvider'); + $this->getContainer()->addServiceProvider('League\OAuth2\Server\ServiceProviders\ClientCredentialsGrantProvider'); + $this->getContainer()->addServiceProvider('League\OAuth2\Server\ServiceProviders\PasswordGrantProvider'); } /**