]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
add refresh-token grant-type 1784/head
authorThomas Citharel <tcit@tcit.fr>
Sun, 13 Mar 2016 16:53:56 +0000 (17:53 +0100)
committerThomas Citharel <tcit@tcit.fr>
Sun, 13 Mar 2016 16:53:56 +0000 (17:53 +0100)
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();