aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-02-25 16:06:13 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-02-29 21:28:25 +0100
commit5bc2da5628afe24525ce68cb840ea6c1d4bf951d (patch)
treea2f531a905db9d7c46aaf55edddf9f0b021f2437
parent8a4690b6a56afd836c4d6ea7f640934fafa6c9cf (diff)
downloadwallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.tar.gz
wallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.tar.zst
wallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.zip
Add password for auth
-rw-r--r--src/Wallabag/CoreBundle/Controller/DeveloperController.php2
1 files changed, 1 insertions, 1 deletions
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
35 $clientForm->handleRequest($request); 35 $clientForm->handleRequest($request);
36 36
37 if ($clientForm->isValid()) { 37 if ($clientForm->isValid()) {
38 $client->setAllowedGrantTypes(array('token', 'authorization_code')); 38 $client->setAllowedGrantTypes(array('token', 'authorization_code','password'));
39 $em->persist($client); 39 $em->persist($client);
40 $em->flush(); 40 $em->flush();
41 41