diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php index f0834b12b..fe30d4683 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php @@ -767,8 +767,8 @@ class ServiceActions $oAccount = null; if ($this->oActions->Config()->Get('labs', 'allow_external_login', false)) { - $sEmail = \trim($this->oHttp->GetRequest('Email', '')); - $sPassword = $this->oHttp->GetRequest('Password', ''); + $sEmail = \trim($_POST['Email']); + $sPassword = $_POST['Password']; try { @@ -785,7 +785,7 @@ class ServiceActions } } - if ('json' === \strtolower($this->oHttp->GetRequest('Output', ''))) { + if ('json' === \strtolower($_POST['Output'])) { \header('Content-Type: application/json; charset=utf-8'); $aResult = array(