aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/DeveloperController.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-03-05 20:04:19 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-03-05 20:04:19 +0100
commit2c2308b7830e24409c6f4a52b52a616803b1a515 (patch)
tree7a4346147cbe5621230343cc4c99cab2e46350a3 /src/Wallabag/CoreBundle/Controller/DeveloperController.php
parent5bf8f3f164aa95f844a3f4faaa19987a2ea39a99 (diff)
downloadwallabag-2c2308b7830e24409c6f4a52b52a616803b1a515.tar.gz
wallabag-2c2308b7830e24409c6f4a52b52a616803b1a515.tar.zst
wallabag-2c2308b7830e24409c6f4a52b52a616803b1a515.zip
Cleanup form
- Avoid too much hidden data in the form (instead of manually define the submit button and hide the default, use the default one !) - Fix HTML syntax in client_parameters - Add developer link in baggy menu - Fix space between link in material footer
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/DeveloperController.php')
-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 4688aeef..30cc8beb 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','password')); 38 $client->setAllowedGrantTypes(array('token', 'authorization_code', 'password'));
39 $em->persist($client); 39 $em->persist($client);
40 $em->flush(); 40 $em->flush();
41 41