mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Code refactoring
Enable password validation (password change plugins)
This commit is contained in:
parent
8af2140e7a
commit
78f09856e3
8 changed files with 53 additions and 57 deletions
|
|
@ -70,17 +70,10 @@ class Service
|
|||
|
||||
$this->oActions->BootStart();
|
||||
|
||||
$this->oActions->ParseQueryAuthString();
|
||||
|
||||
$bCached = false;
|
||||
$sResult = '';
|
||||
$bCached = false;
|
||||
|
||||
$sQuery = \trim(\trim($this->oHttp->GetServer('QUERY_STRING', '')), ' /');
|
||||
$iPos = \strpos($sQuery, '&');
|
||||
if (0 < $iPos)
|
||||
{
|
||||
$sQuery = \substr($sQuery, 0, $iPos);
|
||||
}
|
||||
$sQuery = $this->oActions->ParseQueryAuthString();
|
||||
|
||||
$this->oActions->Plugins()->RunHook('filter.http-query', array(&$sQuery));
|
||||
$aPaths = \explode('/', $sQuery);
|
||||
|
|
@ -132,7 +125,7 @@ class Service
|
|||
{
|
||||
@header('Content-Type: text/html; charset=utf-8');
|
||||
$this->oHttp->ServerNoCache();
|
||||
|
||||
|
||||
$aTemplateParameters = $this->indexTemplateParameters($bAdmin);
|
||||
|
||||
$sCacheFileName = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue