mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 00:46:59 +01:00
* [ADD] Added PDF files displaying
* [FIX] Minor bugfixes * [MOD] Code refactoring Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user