mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 18:30:17 +01:00
Add password for auth
This commit is contained in:
parent
8a4690b6a5
commit
5bc2da5628
@ -35,7 +35,7 @@ class DeveloperController extends Controller
|
|||||||
$clientForm->handleRequest($request);
|
$clientForm->handleRequest($request);
|
||||||
|
|
||||||
if ($clientForm->isValid()) {
|
if ($clientForm->isValid()) {
|
||||||
$client->setAllowedGrantTypes(array('token', 'authorization_code'));
|
$client->setAllowedGrantTypes(array('token', 'authorization_code','password'));
|
||||||
$em->persist($client);
|
$em->persist($client);
|
||||||
$em->flush();
|
$em->flush();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user