Updated plugin to use 1.3.1 of WebComponent.

Should fix downstream bugs with nginx.
This commit is contained in:
Abel Hoogeveen 2023-02-14 15:12:02 +01:00
parent 63ea659d5b
commit 5e19b1bd7a

View File

@ -208,7 +208,7 @@ class AdminPlugin implements iPluginHeader
$this->session = $this->authPlugin->sessions->start(); $this->session = $this->authPlugin->sessions->start();
if ($this->session->user->id === "0") if ($this->session->user->id === "0")
{ {
$output->setHeader("Location: " . $this->authPlugin->getAuthenticationURL() . "/login?location=" . $this->getAdminURL()); $output->setLocation($this->authPlugin->getAuthenticationURL() . "/login?location=" . $this->getAdminURL());
return ""; return "";
} }