mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 16:14:11 +01:00
* [FIX] Upgrading issues
This commit is contained in:
@@ -255,6 +255,11 @@ class ConfigActionController implements ItemControllerInterface
|
||||
protected function saveConfig(Log $Log)
|
||||
{
|
||||
try {
|
||||
if (Checks::demoIsEnabled()) {
|
||||
$this->jsonResponse->setDescription(_('Ey, esto es una DEMO!!'));
|
||||
return;
|
||||
}
|
||||
|
||||
Config::saveConfig();
|
||||
|
||||
$this->jsonResponse->setStatus(0);
|
||||
|
||||
Reference in New Issue
Block a user