]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/DeveloperController.php
add refresh-token grant-type
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / DeveloperController.php
index 71065534e198dd863ae8614cde1a6f366e39e91c..f519bdbcc21ac87ce4bc9b3c3750714532a7cf99 100644 (file)
@@ -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();