diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-07-09 21:22:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-09 21:22:28 +0200 |
commit | 337e807297fb9700407ce6e4c4f7c307b4dae22c (patch) | |
tree | bfcade5d680f6958e52335510ab302262bc8d570 /src/Wallabag/ApiBundle/Controller/DeveloperController.php | |
parent | b5d7eb148c4cd62ff187b08765f0c13c7d330fcf (diff) | |
parent | 2e5b2fa808ca2793705069e56a3cc7e6631f9d9d (diff) | |
download | wallabag-337e807297fb9700407ce6e4c4f7c307b4dae22c.tar.gz wallabag-337e807297fb9700407ce6e4c4f7c307b4dae22c.tar.zst wallabag-337e807297fb9700407ce6e4c4f7c307b4dae22c.zip |
Merge pull request #3267 from wallabag/revert-client-credentials
Revert client_credentials grant types
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/DeveloperController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/DeveloperController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/DeveloperController.php b/src/Wallabag/ApiBundle/Controller/DeveloperController.php index c8a1c635..c7178017 100644 --- a/src/Wallabag/ApiBundle/Controller/DeveloperController.php +++ b/src/Wallabag/ApiBundle/Controller/DeveloperController.php | |||
@@ -43,7 +43,7 @@ class DeveloperController extends Controller | |||
43 | $clientForm->handleRequest($request); | 43 | $clientForm->handleRequest($request); |
44 | 44 | ||
45 | if ($clientForm->isSubmitted() && $clientForm->isValid()) { | 45 | if ($clientForm->isSubmitted() && $clientForm->isValid()) { |
46 | $client->setAllowedGrantTypes(['client_credentials', 'token', 'authorization_code', 'password', 'refresh_token']); | 46 | $client->setAllowedGrantTypes(['token', 'authorization_code', 'password', 'refresh_token']); |
47 | $em->persist($client); | 47 | $em->persist($client); |
48 | $em->flush(); | 48 | $em->flush(); |
49 | 49 | ||