From: Thomas Citharel Date: Thu, 25 Feb 2016 15:06:13 +0000 (+0100) Subject: Add password for auth X-Git-Tag: 2.0.0-beta.2~10^2~7 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5bc2da5628afe24525ce68cb840ea6c1d4bf951d;p=github%2Fwallabag%2Fwallabag.git Add password for auth --- 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();