feat: allow unauthenticated users to perform domain name lookups

This commit is contained in:
Maël Gangloff
2025-12-08 18:18:33 +01:00
parent eddb267275
commit 5476ee7acc
16 changed files with 214 additions and 110 deletions

View File

@@ -30,6 +30,8 @@ class Instance
private ?bool $ssoAutoRedirect = null;
private ?bool $publicRdapLookupEnabled = null;
public function isSsoLogin(): ?bool
{
return $this->oauthEnabled;
@@ -77,4 +79,16 @@ class Instance
return $this;
}
public function getPublicRdapLookupEnabled(): ?bool
{
return $this->publicRdapLookupEnabled;
}
public function setPublicRdapLookupEnabled(?bool $publicRdapLookupEnabled): static
{
$this->publicRdapLookupEnabled = $publicRdapLookupEnabled;
return $this;
}
}