Add invite-only registration mode

This commit is contained in:
Constantin Graf
2026-08-31 13:14:09 +02:00
parent 303de4930d
commit 3161bbef4a
12 changed files with 82 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ enum RegistrationMode: string
return match (strtolower(trim((string) $value))) {
'1', 'on', 'true' => self::On,
'invite', 'invite-only' => self::InviteOnly,
'invite-only' => self::InviteOnly,
default => self::Off,
};
}