diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-14 06:14:22 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-14 06:14:22 +0100 |
commit | 5cc9b5151ff754773dd492a2705f18c93c611ff9 (patch) | |
tree | 0c50dab12045d0acb56a8a834ae505cc8cd5b5a2 /src | |
parent | 6ab56c7b2c225b74b000e9ecedfe28aa0f8d1e18 (diff) | |
parent | c9c8345a4a6ffb5ea359abaaeb21ac9bc32fcd1e (diff) | |
download | wallabag-5cc9b5151ff754773dd492a2705f18c93c611ff9.tar.gz wallabag-5cc9b5151ff754773dd492a2705f18c93c611ff9.tar.zst wallabag-5cc9b5151ff754773dd492a2705f18c93c611ff9.zip |
Merge pull request #1784 from wallabag/v2-add-refresh-token
add refresh-token grant-type
Diffstat (limited to 'src')
-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 | ||