Merge pull request #5880 from PierrePlt:fix/blocking-last-logins

Fix blocking last logins fetching
This commit is contained in:
Niklas Meyer
2024-06-10 12:40:43 +02:00
committed by GitHub
4 changed files with 2 additions and 4 deletions
-1
View File
@@ -49,7 +49,6 @@ $globalVariables = [
'app_links' => customize('get', 'app_links'),
'is_root_uri' => (parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) == '/'),
'uri' => $_SERVER['REQUEST_URI'],
'last_login' => last_login('get', $_SESSION['mailcow_cc_username'], 7, 0)['ui']['time']
];
foreach ($globalVariables as $globalVariableName => $globalVariableValue) {