mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +00:00
Merge pull request #1784 from wallabag/v2-add-refresh-token
add refresh-token grant-type
This commit is contained in:
commit
5cc9b5151f
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class DeveloperController extends Controller
|
||||||
$clientForm->handleRequest($request);
|
$clientForm->handleRequest($request);
|
||||||
|
|
||||||
if ($clientForm->isValid()) {
|
if ($clientForm->isValid()) {
|
||||||
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password'));
|
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token'));
|
||||||
$em->persist($client);
|
$em->persist($client);
|
||||||
$em->flush();
|
$em->flush();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue