feat: register an account

This commit is contained in:
Maël Gangloff
2024-08-05 03:11:03 +02:00
parent b569083db6
commit 322ae444b2
9 changed files with 255 additions and 108 deletions

View File

@@ -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;
}
}