mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Prevent undefined $_POST['Output']
This commit is contained in:
parent
ef6b95722d
commit
5e9c8eb39e
2 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ class LoginExternalPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$oLogger && $oLogger->WriteException($oException);
|
||||
}
|
||||
|
||||
if ('json' === \strtolower($_POST['Output'])) {
|
||||
if ('json' === \strtolower($_POST['Output'] ?? '')) {
|
||||
\header('Content-Type: application/json; charset=utf-8');
|
||||
$aResult = array(
|
||||
'Action' => 'ExternalLogin',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue