mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Add additional logging for OpenPGP
Remove enforcing lower case for email addresses Small fixes
This commit is contained in:
parent
436e54891e
commit
3498700f61
11 changed files with 89 additions and 17 deletions
|
|
@ -213,12 +213,31 @@ class Actions
|
|||
{
|
||||
$this->oConfig = new \RainLoop\Config\Application();
|
||||
|
||||
// $bSave = defined('APP_INSTALLED_START');
|
||||
// if (!$this->oConfig->Load())
|
||||
// {
|
||||
// $bSave = true;
|
||||
// }
|
||||
// else if (!$bSave)
|
||||
// {
|
||||
// $bSave = APP_VERSION !== $this->oConfig->Get('version', 'current');
|
||||
// }
|
||||
|
||||
$bSave = defined('APP_INSTALLED_START');
|
||||
if (!$this->oConfig->Load())
|
||||
|
||||
$bLoaded = $this->oConfig->Load();
|
||||
if (!$bLoaded && !$bSave)
|
||||
{
|
||||
usleep(10000); // TODO
|
||||
$bLoaded = $this->oConfig->Load();
|
||||
}
|
||||
|
||||
if (!$bLoaded && !$this->oConfig->IsFileExists())
|
||||
{
|
||||
$bSave = true;
|
||||
}
|
||||
else if (!$bSave)
|
||||
|
||||
if ($bLoaded && !$bSave)
|
||||
{
|
||||
$bSave = APP_VERSION !== $this->oConfig->Get('version', 'current');
|
||||
}
|
||||
|
|
@ -1996,8 +2015,7 @@ class Actions
|
|||
{
|
||||
$this->Plugins()->RunHook('filter.login-credentials.step-1', array(&$sEmail, &$sPassword));
|
||||
|
||||
$sEmail = \MailSo\Base\Utils::StrToLowerIfAscii(
|
||||
\MailSo\Base\Utils::Trim($sEmail));
|
||||
$sEmail = \MailSo\Base\Utils::StrToLowerIfAscii(\MailSo\Base\Utils::Trim($sEmail));
|
||||
|
||||
if (false === \strpos($sEmail, '@'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue