mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: auto redirect to the SSO login page
This commit is contained in:
@@ -25,6 +25,8 @@ class Instance
|
||||
|
||||
private ?bool $limitedFeatures = null;
|
||||
|
||||
private ?bool $ssoAutoRedirect = null;
|
||||
|
||||
public function isSsoLogin(): ?bool
|
||||
{
|
||||
return $this->oauthEnabled;
|
||||
@@ -60,4 +62,16 @@ class Instance
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSsoAutoRedirect(): ?bool
|
||||
{
|
||||
return $this->ssoAutoRedirect;
|
||||
}
|
||||
|
||||
public function setSsoAutoRedirect(?bool $ssoAutoRedirect): static
|
||||
{
|
||||
$this->ssoAutoRedirect = $ssoAutoRedirect;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user