Allow preventing guest registration (#2199)
* Allow disabling guest registration separately * Update sample config * Set `guests_disabled` to `true` in the sample config
This commit is contained in:
parent
5dd203fde3
commit
e1eb5807b6
3 changed files with 15 additions and 0 deletions
|
|
@ -142,6 +142,10 @@ client_api:
|
|||
# using the registration shared secret below.
|
||||
registration_disabled: false
|
||||
|
||||
# Prevents new guest accounts from being created. Guest registration is also
|
||||
# disabled implicitly by setting 'registration_disabled' above.
|
||||
guests_disabled: true
|
||||
|
||||
# If set, allows registration by anyone who knows the shared secret, regardless of
|
||||
# whether registration is otherwise disabled.
|
||||
registration_shared_secret: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue