mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-03-19 17:25:17 -05:00
fix: improve invite-only instructions (#205)
Signed-off-by: Chris Hultin <chrishultin@google.com>
This commit is contained in:
committed by
GitHub
parent
faacea206d
commit
c66284d744
@@ -370,7 +370,13 @@ services:
|
||||
|
||||
### Making Your Instance Invite-only
|
||||
|
||||
Enable invite-only mode by setting `invite_only` in `Revolt.toml` to `true`.
|
||||
Add the following section to your `Revolt.toml` file:
|
||||
```toml
|
||||
[api.registration]
|
||||
# Whether an invite should be required for registration
|
||||
# See https://github.com/revoltchat/self-hosted#making-your-instance-invite-only
|
||||
invite_only = true
|
||||
```
|
||||
|
||||
Create an invite:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user