diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-03-13 17:53:56 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-03-13 17:53:56 +0100 |
commit | c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e (patch) | |
tree | 0c50dab12045d0acb56a8a834ae505cc8cd5b5a2 | |
parent | 6ab56c7b2c225b74b000e9ecedfe28aa0f8d1e18 (diff) | |
download | wallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.tar.gz wallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.tar.zst wallabag-c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e.zip |
add refresh-token grant-type
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/DeveloperController.php | 2 |
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 | ||