aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-07-02 14:35:52 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-08-23 07:40:36 +0200
commitde3d716ae4e8ca98dabdcb2ec9c18219e05856f7 (patch)
treedc1198b88d23b81130026057ddebb1d687c643e6 /app/config
parent79efca1e6ff28362d4bd2713f68205294cdd07de (diff)
downloadwallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.tar.gz
wallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.tar.zst
wallabag-de3d716ae4e8ca98dabdcb2ec9c18219e05856f7.zip
Add option to disable registration
Diffstat (limited to 'app/config')
-rw-r--r--app/config/config.yml3
-rw-r--r--app/config/parameters.yml.dist1
2 files changed, 4 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 80754393..cad51e6c 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -50,6 +50,9 @@ wallabag_core:
50 rss_limit: 50 50 rss_limit: 50
51 reading_speed: 1 51 reading_speed: 1
52 52
53wallabag_user:
54 registration_enabled: "%registration_enabled%"
55
53wallabag_import: 56wallabag_import:
54 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] 57 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
55 resource_dir: "%kernel.root_dir%/../web/uploads/import" 58 resource_dir: "%kernel.root_dir%/../web/uploads/import"
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
index d45839f4..d092e139 100644
--- a/app/config/parameters.yml.dist
+++ b/app/config/parameters.yml.dist
@@ -34,6 +34,7 @@ parameters:
34 twofactor_sender: no-reply@wallabag.org 34 twofactor_sender: no-reply@wallabag.org
35 35
36 # fosuser stuff 36 # fosuser stuff
37 fosuser_registration: true
37 fosuser_confirmation: true 38 fosuser_confirmation: true
38 39
39 from_email: no-reply@wallabag.org 40 from_email: no-reply@wallabag.org