mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Added more plugin hooks
Added proxy auth plugin example (dev)
This commit is contained in:
parent
819ba4a2ef
commit
9c43105e95
8 changed files with 432 additions and 123 deletions
|
|
@ -805,7 +805,7 @@ class ServiceActions
|
|||
try
|
||||
{
|
||||
$oAccount = $this->oActions->LoginProcess($sEmail, $sPassword);
|
||||
$this->oActions->AuthProcess($oAccount);
|
||||
$this->oActions->AuthToken($oAccount);
|
||||
|
||||
$bLogout = !($oAccount instanceof \RainLoop\Account);
|
||||
}
|
||||
|
|
@ -843,7 +843,7 @@ class ServiceActions
|
|||
try
|
||||
{
|
||||
$oAccount = $this->oActions->LoginProcess($sEmail, $sPassword);
|
||||
$this->oActions->AuthProcess($oAccount);
|
||||
$this->oActions->AuthToken($oAccount);
|
||||
$bLogout = !($oAccount instanceof \RainLoop\Account);
|
||||
}
|
||||
catch (\Exception $oException)
|
||||
|
|
@ -878,7 +878,7 @@ class ServiceActions
|
|||
try
|
||||
{
|
||||
$oAccount = $this->oActions->LoginProcess($sEmail, $sPassword);
|
||||
$this->oActions->AuthProcess($oAccount);
|
||||
$this->oActions->AuthToken($oAccount);
|
||||
$bLogout = !($oAccount instanceof \RainLoop\Account);
|
||||
}
|
||||
catch (\Exception $oException)
|
||||
|
|
@ -994,7 +994,7 @@ class ServiceActions
|
|||
|
||||
if ($oAccountToLogin)
|
||||
{
|
||||
$this->oActions->AuthProcess($oAccountToLogin);
|
||||
$this->oActions->AuthToken($oAccountToLogin);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1042,7 +1042,7 @@ class ServiceActions
|
|||
{
|
||||
$this->oActions->CheckMailConnection($oAccount);
|
||||
|
||||
$this->oActions->AuthProcess($oAccount);
|
||||
$this->oActions->AuthToken($oAccount);
|
||||
|
||||
$sAuthAccountHash = $this->oActions->GetSpecAuthToken();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue