X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FDeveloperController.php;fp=src%2FWallabag%2FCoreBundle%2FController%2FDeveloperController.php;h=4688aeefcd01839d2f435c18684d49adb822fadf;hb=5bc2da5628afe24525ce68cb840ea6c1d4bf951d;hp=3b9da318f78cf57a06f7d033d7746ce75abf7cb5;hpb=8a4690b6a56afd836c4d6ea7f640934fafa6c9cf;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/DeveloperController.php b/src/Wallabag/CoreBundle/Controller/DeveloperController.php index 3b9da318..4688aeef 100644 --- a/src/Wallabag/CoreBundle/Controller/DeveloperController.php +++ b/src/Wallabag/CoreBundle/Controller/DeveloperController.php @@ -35,7 +35,7 @@ class DeveloperController extends Controller $clientForm->handleRequest($request); if ($clientForm->isValid()) { - $client->setAllowedGrantTypes(array('token', 'authorization_code')); + $client->setAllowedGrantTypes(array('token', 'authorization_code','password')); $em->persist($client); $em->flush();