mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-03-29 08:50:10 +00:00
Explain how to enable account registration
This commit is contained in:
@@ -55,6 +55,14 @@ If you need help getting started with git, this is beyond the scope of the docum
|
||||
cd ..
|
||||
```
|
||||
- Generate the sample config via `cargo run -- config generate > config.yaml`
|
||||
- To enable registration, add the following to `config.yaml`:
|
||||
```yaml
|
||||
account:
|
||||
password_registration_enabled: true
|
||||
# Since no emails are sent by default and we want to be able to create some users for
|
||||
# local dev, remove the email requirement.
|
||||
password_registration_email_required: false
|
||||
```
|
||||
- Run a PostgreSQL database locally
|
||||
```sh
|
||||
docker run -p 5432:5432 -e 'POSTGRES_USER=postgres' -e 'POSTGRES_PASSWORD=postgres' -e 'POSTGRES_DATABASE=postgres' postgres
|
||||
|
||||
Reference in New Issue
Block a user