mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 00:46:59 +01:00
* [FIX] Fixed issue when displaying username on session bar when it isn't available. Closes #1048. Thanks to @vmario89 for the feedback.
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -116,10 +116,10 @@ abstract class ControllerBase
|
||||
{
|
||||
$this->view->assign('timeStart', $this->router->request()->server()->get('REQUEST_TIME_FLOAT'));
|
||||
$this->view->assign('queryTimeStart', microtime());
|
||||
$this->view->assign('userId', $this->userData->getId());
|
||||
$this->view->assign('userGroupId', $this->userData->getUserGroupId());
|
||||
$this->view->assign('userIsAdminApp', $this->userData->getIsAdminApp());
|
||||
$this->view->assign('userIsAdminAcc', $this->userData->getIsAdminAcc());
|
||||
$this->view->assign('ctx_userId', $this->userData->getId());
|
||||
$this->view->assign('ctx_userGroupId', $this->userData->getUserGroupId());
|
||||
$this->view->assign('ctx_userIsAdminApp', $this->userData->getIsAdminApp());
|
||||
$this->view->assign('ctx_userIsAdminAcc', $this->userData->getIsAdminAcc());
|
||||
$this->view->assign('themeUri', $this->view->getTheme()->getThemeUri());
|
||||
$this->view->assign('isDemo', $this->configData->isDemoEnabled());
|
||||
$this->view->assign('icons', $this->theme->getIcons());
|
||||
|
||||
Reference in New Issue
Block a user