From 028f4ecb08bcc34f578e5610ef257c959c4be850 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 31 Oct 2022 12:20:00 +0100 Subject: [PATCH] Method 'GetRequest' not found in \MailSo\Base\Http #585 --- .../v/0.0.0/app/libraries/RainLoop/ServiceActions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 039c7c142..e62372347 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/ServiceActions.php @@ -817,14 +817,14 @@ class ServiceActions $sResult = ''; $oConfig = $this->oActions->Config(); $sKey = $oConfig->Get('labs', 'external_sso_key', ''); - $sEmail = \trim($this->oHttp->GetRequest('Email', '')); - $sPassword = $this->oHttp->GetRequest('Password', ''); + $sEmail = \trim($_POST['Email']); + $sPassword = $_POST['Password']; if ($oConfig->Get('labs', 'allow_external_sso', false) && $sEmail && $sPassword - && $sKey && $this->oHttp->GetRequest('SsoKey', '') == $sKey + && $sKey && $_POST['SsoKey'] == $sKey ) { $sResult = \RainLoop\Api::CreateUserSsoHash($sEmail, $sPassword); - if ('json' == \strtolower($this->oHttp->GetRequest('Output', 'Plain'))) { + if ('json' == \strtolower($_POST['Output'] ?? 'Plain')) { \header('Content-Type: application/json; charset=utf-8'); $sResult = \json_encode(array( 'Action' => 'ExternalSso',