]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add password for auth
authorThomas Citharel <tcit@tcit.fr>
Thu, 25 Feb 2016 15:06:13 +0000 (16:06 +0100)
committerNicolas LÅ“uillet <nicolas@loeuillet.org>
Mon, 29 Feb 2016 20:28:25 +0000 (21:28 +0100)
src/Wallabag/CoreBundle/Controller/DeveloperController.php

index 3b9da318f78cf57a06f7d033d7746ce75abf7cb5..4688aeefcd01839d2f435c18684d49adb822fadf 100644 (file)
@@ -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();