aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-26 20:19:42 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-26 20:19:42 +0200
commit4180fddac1aa011f121a1ab901f9f21aafa46112 (patch)
treee44a1bc1cb9c61bb5b75cf50a0d4036efb55b274 /src/Wallabag/CoreBundle/Controller/ConfigController.php
parent57162494557c5eac938a7d6800ac1b112f73efc9 (diff)
parent0f30f48b937eddc9b1130049403a5ff09e1041c0 (diff)
downloadwallabag-4180fddac1aa011f121a1ab901f9f21aafa46112.tar.gz
wallabag-4180fddac1aa011f121a1ab901f9f21aafa46112.tar.zst
wallabag-4180fddac1aa011f121a1ab901f9f21aafa46112.zip
Merge pull request #1435 from wallabag/v2-enabled-user
Enabled created user from Config
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 73484d86..5affdee8 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -98,6 +98,8 @@ class ConfigController extends Controller
98 98
99 // handle adding new user 99 // handle adding new user
100 $newUser = new User(); 100 $newUser = new User();
101 // enable created user by default
102 $newUser->setEnabled(true);
101 $newUserForm = $this->createForm(new NewUserType(), $newUser, array('validation_groups' => array('Profile'))); 103 $newUserForm = $this->createForm(new NewUserType(), $newUser, array('validation_groups' => array('Profile')));
102 $newUserForm->handleRequest($request); 104 $newUserForm->handleRequest($request);
103 105