mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Small fixes and code refactoring
This commit is contained in:
parent
e6c712862d
commit
1a85330770
67 changed files with 413 additions and 181 deletions
|
|
@ -1288,6 +1288,7 @@ class Actions
|
|||
'AllowAppendMessage' => (bool) $oConfig->Get('labs', 'allow_message_append', false),
|
||||
'MaterialDesign' => (bool) $oConfig->Get('labs', 'use_material_design', true),
|
||||
'PremType' => $this->PremType(),
|
||||
'Admin' => array(),
|
||||
'Capa' => array(),
|
||||
'Plugins' => array()
|
||||
);
|
||||
|
|
@ -6420,10 +6421,10 @@ class Actions
|
|||
$aData = $this->getTwoFactorInfo($oAccount);
|
||||
$sSecret = !empty($aData['Secret']) ? $aData['Secret'] : '';
|
||||
|
||||
$this->Logger()->WriteDump(array(
|
||||
$sCode, $sSecret, $aData,
|
||||
$this->TwoFactorAuthProvider()->VerifyCode($sSecret, $sCode)
|
||||
));
|
||||
// $this->Logger()->WriteDump(array(
|
||||
// $sCode, $sSecret, $aData,
|
||||
// $this->TwoFactorAuthProvider()->VerifyCode($sSecret, $sCode)
|
||||
// ));
|
||||
|
||||
\sleep(1);
|
||||
return $this->DefaultResponse(__FUNCTION__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue