[BUGFIX] Use EXEC_TIME for sys_log entry instead of time()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Authentication / BackendUserAuthentication.php
index d0e5ee6..eb736d4 100644 (file)
@@ -2305,7 +2305,7 @@ class BackendUserAuthentication extends AbstractUserAuthentication
             'tablename' => $tablename,
             'recuid' => (int)$recuid,
             'IP' => (string)GeneralUtility::getIndpEnv('REMOTE_ADDR'),
-            'tstamp' => time(),
+            'tstamp' => $GLOBALS['EXEC_TIME'] ?? time(),
             'event_pid' => (int)$event_pid,
             'NEWid' => $NEWid,
             'workspace' => $this->workspace