mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-22 09:13:26 +00:00
Merge pull request #5880 from PierrePlt:fix/blocking-last-logins
Fix blocking last logins fetching
This commit is contained in:
4 files changed
+2
-4
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user