mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-12 07:43:17 +01:00
Add invite-only registration mode
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user