mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: allow unauthenticated users to perform domain name lookups
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user