From c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 13 Mar 2016 17:53:56 +0100 Subject: add refresh-token grant-type --- src/Wallabag/CoreBundle/Controller/DeveloperController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Wallabag/CoreBundle/Controller/DeveloperController.php b/src/Wallabag/CoreBundle/Controller/DeveloperController.php index 71065534..f519bdbc 100644 --- a/src/Wallabag/CoreBundle/Controller/DeveloperController.php +++ b/src/Wallabag/CoreBundle/Controller/DeveloperController.php @@ -43,7 +43,7 @@ class DeveloperController extends Controller $clientForm->handleRequest($request); if ($clientForm->isValid()) { - $client->setAllowedGrantTypes(array('token', 'authorization_code', 'password')); + $client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token')); $em->persist($client); $em->flush(); -- cgit v1.2.3