From de3d716ae4e8ca98dabdcb2ec9c18219e05856f7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 2 Jul 2016 14:35:52 +0200 Subject: Add option to disable registration --- app/config/config.yml | 3 +++ app/config/parameters.yml.dist | 1 + 2 files changed, 4 insertions(+) (limited to 'app/config') 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: rss_limit: 50 reading_speed: 1 +wallabag_user: + registration_enabled: "%registration_enabled%" + wallabag_import: allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] 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: twofactor_sender: no-reply@wallabag.org # fosuser stuff + fosuser_registration: true fosuser_confirmation: true from_email: no-reply@wallabag.org -- cgit v1.2.3 From 7149aa57814a9d6151f4fe049126e3cb5d86a254 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 24 Jul 2016 11:41:04 +0200 Subject: Proper parameter name, simplify logic & phpdoc --- app/config/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/config') diff --git a/app/config/config.yml b/app/config/config.yml index cad51e6c..30fd6063 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -51,7 +51,7 @@ wallabag_core: reading_speed: 1 wallabag_user: - registration_enabled: "%registration_enabled%" + registration_enabled: "%fosuser_registration%" wallabag_import: allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] -- cgit v1.2.3