aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-03-13 17:53:56 +0100
committerThomas Citharel <tcit@tcit.fr>2016-03-13 17:53:56 +0100
commitc9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e (patch)
tree0c50dab12045d0acb56a8a834ae505cc8cd5b5a2 /src
parent6ab56c7b2c225b74b000e9ecedfe28aa0f8d1e18 (diff)
downloadwallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.tar.gz
wallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.tar.zst
wallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.zip
add refresh-token grant-type
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/DeveloperController.php2
1 files changed, 1 insertions, 1 deletions
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
43 $clientForm->handleRequest($request); 43 $clientForm->handleRequest($request);
44 44
45 if ($clientForm->isValid()) { 45 if ($clientForm->isValid()) {
46 $client->setAllowedGrantTypes(array('token', 'authorization_code', 'password')); 46 $client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token'));
47 $em->persist($client); 47 $em->persist($client);
48 $em->flush(); 48 $em->flush();
49 49