mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 15:44:07 +01:00
* [MOD] Improved task management
* [MOD] Code refactoring. Work in progress * [FIX] Bugfixes. Work in progress
This commit is contained in:
@@ -221,9 +221,12 @@ class ConfigManagerController extends ControllerBase
|
||||
$template->setBase('config');
|
||||
$template->addTemplate('encryption');
|
||||
|
||||
$template->assign('mailSecurity', ['SSL', 'TLS']);
|
||||
$template->assign('numAccounts', $this->dic->get(AccountService::class)->getTotalNumAccounts()->num);
|
||||
$template->assign('taskId', Task::genTaskId('masterpass'));
|
||||
$numAccounts = $this->dic->get(AccountService::class)->getTotalNumAccounts()->num;
|
||||
$template->assign('numAccounts', $numAccounts);
|
||||
|
||||
if ($numAccounts > 500) {
|
||||
$template->assign('taskId', Task::genTaskId('masterpass'));
|
||||
}
|
||||
|
||||
$configService = $this->dic->get(ConfigService::class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user