aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-02 10:27:15 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-02 11:32:38 +0200
commit1b9cd91782ed8341d2e608371201348c59986f23 (patch)
treed09d844f2e4a4168fe8c5d3a5482726c38061213 /src/Wallabag
parent426bb453d295900fb3e35dce2f9081a42639cf27 (diff)
downloadwallabag-1b9cd91782ed8341d2e608371201348c59986f23.tar.gz
wallabag-1b9cd91782ed8341d2e608371201348c59986f23.tar.zst
wallabag-1b9cd91782ed8341d2e608371201348c59986f23.zip
Add translation
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/ApiBundle/Controller/UserRestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/UserRestController.php b/src/Wallabag/ApiBundle/Controller/UserRestController.php
index 1fc67d00..a1d7c1ff 100644
--- a/src/Wallabag/ApiBundle/Controller/UserRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/UserRestController.php
@@ -51,7 +51,7 @@ class UserRestController extends WallabagRestController
51 51
52 $userManager = $this->get('fos_user.user_manager'); 52 $userManager = $this->get('fos_user.user_manager');
53 $user = $userManager->createUser(); 53 $user = $userManager->createUser();
54 // user will be disabled BY DEFAULT to avoid spamming account to be created 54 // user will be disabled BY DEFAULT to avoid spamming account to be enabled
55 $user->setEnabled(false); 55 $user->setEnabled(false);
56 56
57 $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [ 57 $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [