add config option for guest registration, make guest registration respect allow_registration
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user