Updated plugin to use 1.3.1 of WebComponent.
Should fix downstream bugs with nginx.
This commit is contained in:
parent
63ea659d5b
commit
5e19b1bd7a
@ -208,7 +208,7 @@ class AdminPlugin implements iPluginHeader
|
||||
$this->session = $this->authPlugin->sessions->start();
|
||||
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 "";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user