Add invite-only registration: a new account waits for a confirmed member to VOUCH
Some checks failed
CI / check (push) Failing after 5m12s

This commit is contained in:
Jean Chevronnet 2026-07-20 22:12:54 +00:00
parent 140b19ee04
commit 1c6b8c799f
No known key found for this signature in database
18 changed files with 123 additions and 12 deletions

View file

@ -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());