Merge pull request #6791 from wallabag/change-default-fosuser-registration

Change public registration to false by default
This commit is contained in:
Nicolas Lœuillet 2023-08-24 07:55:13 +02:00 committed by GitHub
commit 27e54e0634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 2 deletions

View file

@ -37,7 +37,7 @@ parameters:
twofactor_sender: no-reply@wallabag.org
# fosuser stuff
fosuser_registration: true
fosuser_registration: false
fosuser_confirmation: true
# 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)%"
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"
test_database_charset: utf8
fosuser_registration: true

View file

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

View file

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

View file

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

View file

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