diff --git a/README.md b/README.md index 785038e..b021438 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Default login is `wallabag:wallabag`. - `-e SYMFONY__ENV__MAILER_DSN=...` (defaults to "smtp://127.0.0.1") - `-e SYMFONY__ENV__FROM_EMAIL=...`(defaults to "`wallabag@example.com`", the address wallabag uses for outgoing emails) - `-e SYMFONY__ENV__TWOFACTOR_SENDER=...` (defaults to "`no-reply@wallabag.org`", the address wallabag uses for two-factor emails) -- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "true", enable or disable public user registration) +- `-e SYMFONY__ENV__FOSUSER_REGISTRATION=...`(defaults to "false", enable or disable public user registration) - `-e SYMFONY__ENV__FOSUSER_CONFIRMATION=...`(defaults to "true", enable or disable registration confirmation) - `-e SYMFONY__ENV__DOMAIN_NAME=...` defaults to "`https://your-wallabag-instance.wallabag.org`", the URL of your wallabag instance) - `-e SYMFONY__ENV__REDIS_SCHEME=...` (defaults to "tcp", protocol to use to communicate with the target server (tcp, unix, or http)) diff --git a/root/etc/wallabag/parameters.template.yml b/root/etc/wallabag/parameters.template.yml index 27dab79..42a8333 100644 --- a/root/etc/wallabag/parameters.template.yml +++ b/root/etc/wallabag/parameters.template.yml @@ -23,7 +23,7 @@ parameters: twofactor_sender: ${SYMFONY__ENV__TWOFACTOR_SENDER:-no-reply@wallabag.org} # fosuser stuff - fosuser_registration: ${SYMFONY__ENV__FOSUSER_REGISTRATION:-true} + fosuser_registration: ${SYMFONY__ENV__FOSUSER_REGISTRATION:-false} fosuser_confirmation: ${SYMFONY__ENV__FOSUSER_CONFIRMATION:-true} # how long the access token should live in seconds for the API diff --git a/tests/test_login.py b/tests/test_login.py index 5a037de..adb6655 100644 --- a/tests/test_login.py +++ b/tests/test_login.py @@ -52,7 +52,6 @@ def test_accessing_login_page(wallabag_service): assert r.status_code == 200 assert 'Log in' in r.text assert 'Password' in r.text - assert 'Register' in r.text assert 'Username' in r.text