mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +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;
|
$oAccount = null;
|
||||||
|
|
||||||
if ($this->oActions->Config()->Get('labs', 'allow_external_login', false)) {
|
if ($this->oActions->Config()->Get('labs', 'allow_external_login', false)) {
|
||||||
$sEmail = \trim($this->oHttp->GetRequest('Email', ''));
|
$sEmail = \trim($_POST['Email']);
|
||||||
$sPassword = $this->oHttp->GetRequest('Password', '');
|
$sPassword = $_POST['Password'];
|
||||||
|
|
||||||
try
|
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');
|
\header('Content-Type: application/json; charset=utf-8');
|
||||||
|
|
||||||
$aResult = array(
|
$aResult = array(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue