Skip to content

Commit 5aaa6db

Browse files
committed
Document why you might want to set set account.password_registration_email_required: false
1 parent 68e9b5e commit 5aaa6db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/advanced.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,22 @@ matrixAuthenticationService:
124124
some: settings
125125
```
126126

127+
While Matrix Authentication Service supports registration tokens, by default they still require users to validate an email address as part of the registration flow. To remove this requirement you can do:
128+
129+
```yml
130+
matrixAuthenticationService:
131+
additional:
132+
auth.yaml:
133+
config: |
134+
account:
135+
password_registration_enabled: true
136+
registration_token_required: true
137+
password_registration_email_required: false
138+
password_change_allowed: true
139+
```
140+
141+
`account.password_registration_email_required` must **never** be set to `false` on a publicly federating deployment without restrictions like `registration_token_required: true` or your deployment will be abused and become a source of spam.
142+
127143
### Configuring Matrix RTC
128144

129145
Matrix RTC SFU configuration is written in YAML. The documentation can be found [here](https://docs.livekit.io/home/self-hosting/deployment/).

0 commit comments

Comments
 (0)