mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Changes for #321 because GetRequest() is undefined
This commit is contained in:
parent
06667c1b36
commit
58bcbc3aad
1 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue