Skip session authentication for backend modules
- This was causing errors accessing these modules with an existing session with 2fa enabled while anonymous calls were going through
This commit is contained in:
parent
bcd3cf0bc0
commit
40aaa51050
|
@ -631,7 +631,9 @@ class App
|
|||
Model\Profile::openWebAuthInit($token);
|
||||
}
|
||||
|
||||
$auth->withSession($this);
|
||||
if (!$this->mode->isBackend()) {
|
||||
$auth->withSession($this);
|
||||
}
|
||||
|
||||
if (empty($_SESSION['authenticated'])) {
|
||||
header('X-Account-Management-Status: none');
|
||||
|
|
Loading…
Reference in a new issue