Add invite-only registration: a new account waits for a confirmed member to VOUCH
Some checks failed
CI / check (push) Failing after 5m12s
Some checks failed
CI / check (push) Failing after 5m12s
This commit is contained in:
parent
140b19ee04
commit
1c6b8c799f
18 changed files with 123 additions and 12 deletions
|
|
@ -1002,6 +1002,7 @@ impl Engine {
|
|||
self.set_log_channel(cfg.log.as_ref().map(|l| l.channel.clone()));
|
||||
self.db.set_notify_exclude(cfg.log.as_ref().map(|l| l.notify_exclude.clone()).unwrap_or_default());
|
||||
self.db.set_confusable_check(cfg.register.confusable_check);
|
||||
self.db.set_registration_vouch(cfg.register.vouch);
|
||||
self.set_guest_nick(&cfg.server.guest_nick);
|
||||
if let Some(expire) = &cfg.expire {
|
||||
self.set_expiry(expire.account_ttl(), expire.channel_ttl(), expire.warn_ttl());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue