mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-09 18:06:54 +01:00
* [FIX] Wrong behavior when accessing through API. Maintenance mode was wrongly checked. Thanks to @pierrehenrymuller for the feedback. Closes #1108
* [MOD] Updated displayed strings for custom fields type. Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -95,7 +95,7 @@ final class Init extends ModuleBase
|
||||
$this->checkInstalled();
|
||||
|
||||
// Checks if maintenance mode is turned on
|
||||
if (!$this->checkMaintenanceMode($this->context)) {
|
||||
if ($this->checkMaintenanceMode($this->context)) {
|
||||
throw new InitializationException('Maintenance mode');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user