mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: register an account
This commit is contained in:
@@ -20,6 +20,8 @@ class Instance
|
||||
{
|
||||
private ?bool $oauthEnabled = null;
|
||||
|
||||
private ?bool $registerEnabled = null;
|
||||
|
||||
private ?bool $limitedFeatures = null;
|
||||
|
||||
public function isSsoLogin(): ?bool
|
||||
@@ -45,4 +47,16 @@ class Instance
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getRegisterEnabled(): ?bool
|
||||
{
|
||||
return $this->registerEnabled;
|
||||
}
|
||||
|
||||
public function setRegisterEnabled(?bool $registerEnabled): static
|
||||
{
|
||||
$this->registerEnabled = $registerEnabled;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user