mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 08:24:50 +03:00
Cleanup Logger a bit
This commit is contained in:
parent
f105ed3f9d
commit
0914ede3a3
3 changed files with 4 additions and 4 deletions
|
|
@ -37,8 +37,6 @@ trait User
|
|||
$sEmail = \MailSo\Base\Utils::Trim($this->GetActionParam('Email', ''));
|
||||
$sPassword = $this->GetActionParam('Password', '');
|
||||
|
||||
$this->logMask($sPassword);
|
||||
|
||||
try {
|
||||
$oAccount = $this->LoginProcess($sEmail, $sPassword);
|
||||
} catch (\Throwable $oException) {
|
||||
|
|
|
|||
|
|
@ -124,6 +124,8 @@ trait UserAuth
|
|||
{
|
||||
$sInputEmail = $sEmail;
|
||||
|
||||
$this->logMask($sPassword);
|
||||
|
||||
$sLogin = '';
|
||||
$this->resolveLoginCredentials($sEmail, $sPassword, $sLogin);
|
||||
|
||||
|
|
|
|||
|
|
@ -126,11 +126,11 @@ class ServiceActions
|
|||
case 'DoLogin':
|
||||
case 'DoAdminLogin':
|
||||
case 'DoAccountAdd':
|
||||
$this->Logger()->AddSecret($this->oActions->GetActionParam('Password', ''));
|
||||
$this->oActions->logMask($this->oActions->GetActionParam('Password', ''));
|
||||
break;
|
||||
}
|
||||
*/
|
||||
$this->Logger()->Write(Utils::jsonEncode($aPost), \LOG_INFO, 'POST', true);
|
||||
$this->Logger()->Write(Utils::jsonEncode($aPost), \LOG_INFO, 'POST');
|
||||
} else if (3 < \count($this->aPaths) && $this->oHttp->IsGet()) {
|
||||
$this->oActions->SetActionParams(array(
|
||||
'RawKey' => empty($this->aPaths[3]) ? '' : $this->aPaths[3]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue