1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

Revert client_credentials grant types

This commit is contained in:
Jeremy Benoist 2017-07-08 19:28:12 +02:00
parent b5d7eb148c
commit 2e5b2fa808
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 22 deletions

View file

@ -43,7 +43,7 @@ class DeveloperController extends Controller
$clientForm->handleRequest($request);
if ($clientForm->isSubmitted() && $clientForm->isValid()) {
$client->setAllowedGrantTypes(['client_credentials', 'token', 'authorization_code', 'password', 'refresh_token']);
$client->setAllowedGrantTypes(['token', 'authorization_code', 'password', 'refresh_token']);
$em->persist($client);
$em->flush();