Change public registration to false by default

This commit is contained in:
Nicolas Lœuillet 2023-08-03 10:31:37 +02:00
parent c2bfc0f359
commit 5e4eae42a0
6 changed files with 6 additions and 2 deletions

View file

@ -37,7 +37,7 @@ parameters:
twofactor_sender: no-reply@wallabag.org twofactor_sender: no-reply@wallabag.org
# fosuser stuff # fosuser stuff
fosuser_registration: true fosuser_registration: false
fosuser_confirmation: true fosuser_confirmation: true
# how long the access token should live in seconds for the API # how long the access token should live in seconds for the API

View file

@ -8,3 +8,4 @@ parameters:
test_database_path: "%env(TEST_DATABASE_PATH)%" test_database_path: "%env(TEST_DATABASE_PATH)%"
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"
test_database_charset: utf8 test_database_charset: utf8
fosuser_registration: true

View file

@ -8,3 +8,4 @@ parameters:
test_database_path: ~ test_database_path: ~
env(TEST_DATABASE_PATH): ~ env(TEST_DATABASE_PATH): ~
test_database_charset: utf8mb4 test_database_charset: utf8mb4
fosuser_registration: true

View file

@ -8,3 +8,4 @@ parameters:
test_database_path: ~ test_database_path: ~
env(TEST_DATABASE_PATH): ~ env(TEST_DATABASE_PATH): ~
test_database_charset: utf8 test_database_charset: utf8
fosuser_registration: true

View file

@ -10,3 +10,4 @@ parameters:
test_database_path: "%env(TEST_DATABASE_PATH)%" test_database_path: "%env(TEST_DATABASE_PATH)%"
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"
test_database_charset: utf8 test_database_charset: utf8
fosuser_registration: true

View file

@ -25,7 +25,7 @@ parameters:
twofactor_sender: ${TWOFACTOR_SENDER:-no-reply@wallabag.org} twofactor_sender: ${TWOFACTOR_SENDER:-no-reply@wallabag.org}
# fosuser stuff # fosuser stuff
fosuser_registration: ${FOSUSER_REGISTRATION:-true} fosuser_registration: ${FOSUSER_REGISTRATION:-false}
fosuser_confirmation: ${FOSUSER_CONFIRMATION:-true} fosuser_confirmation: ${FOSUSER_CONFIRMATION:-true}
fos_oauth_server_access_token_lifetime: 3600 fos_oauth_server_access_token_lifetime: 3600