diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-02-25 16:06:13 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-29 21:28:25 +0100 |
commit | 5bc2da5628afe24525ce68cb840ea6c1d4bf951d (patch) | |
tree | a2f531a905db9d7c46aaf55edddf9f0b021f2437 /src | |
parent | 8a4690b6a56afd836c4d6ea7f640934fafa6c9cf (diff) | |
download | wallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.tar.gz wallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.tar.zst wallabag-5bc2da5628afe24525ce68cb840ea6c1d4bf951d.zip |
Add password for auth
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/DeveloperController.php | 2 |
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 | ||