add config option for guest registration, make guest registration respect allow_registration
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
f20beae8dc
commit
b0fdc1351b
3 changed files with 22 additions and 0 deletions
|
@ -295,6 +295,10 @@ impl Service {
|
|||
self.config.allow_registration
|
||||
}
|
||||
|
||||
pub fn allow_guest_registration(&self) -> bool {
|
||||
self.config.allow_guest_registration
|
||||
}
|
||||
|
||||
pub fn allow_encryption(&self) -> bool {
|
||||
self.config.allow_encryption
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue