* [ADD] Added PDF files displaying

* [FIX] Minor bugfixes
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-10-24 01:59:58 +02:00
parent e49526e594
commit a37b49d506
18 changed files with 947 additions and 299 deletions

View File

@@ -67,7 +67,7 @@ final class UserPassResetController extends ControllerBase
->getCustomLayout('request', strtolower($this->controllerName));
if (!$this->configData->isMailEnabled()) {
ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, 'request');
ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, true, 'request');
}
$this->view();
@@ -156,7 +156,7 @@ final class UserPassResetController extends ControllerBase
if ($hash && $this->configData->isMailEnabled()) {
$this->view->assign('hash', $hash);
} else {
ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, 'reset');
ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, true, 'reset');
}
$this->view();