mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-14 13:01:09 +00:00
add refresh-token grant-type
This commit is contained in:
parent
6ab56c7b2c
commit
c9c8345a4a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class DeveloperController extends Controller
|
|||
$clientForm->handleRequest($request);
|
||||
|
||||
if ($clientForm->isValid()) {
|
||||
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password'));
|
||||
$client->setAllowedGrantTypes(array('token', 'authorization_code', 'password','refresh_token'));
|
||||
$em->persist($client);
|
||||
$em->flush();
|
||||
|
||||
|
|
Loading…
Reference in a new issue