mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-22 00:06:53 +01:00
* [ADD] syspass.log file and configuration backup can now be downloaded from Information tab
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -179,6 +179,10 @@ final class ConfigGeneralController extends SimpleControllerBase
|
||||
{
|
||||
$this->checkSecurityToken($this->previousSk, $this->request);
|
||||
|
||||
if ($this->configData->isDemoEnabled()) {
|
||||
return __('Ey, esto es una DEMO!!');
|
||||
}
|
||||
|
||||
try {
|
||||
SessionContext::close();
|
||||
|
||||
@@ -221,6 +225,10 @@ final class ConfigGeneralController extends SimpleControllerBase
|
||||
{
|
||||
$this->checkSecurityToken($this->previousSk, $this->request);
|
||||
|
||||
if ($this->configData->isDemoEnabled()) {
|
||||
return __('Ey, esto es una DEMO!!');
|
||||
}
|
||||
|
||||
try {
|
||||
$this->eventDispatcher->notifyEvent('download.configBackupFile',
|
||||
new Event($this, EventMessage::factory()
|
||||
|
||||
Reference in New Issue
Block a user