[BUGFIX] Select correct database table in BackendUserAuthentication::writelog 40/49640/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 30 Aug 2016 07:48:44 +0000 (09:48 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 30 Aug 2016 07:51:32 +0000 (09:51 +0200)
Change-Id: I8877a68d5de5017346179368dab8002d8f08077f
Resolves: #77683
Releases: master
Reviewed-on: https://review.typo3.org/49640
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php

index 32e3b2b..833e628 100644 (file)
@@ -2302,7 +2302,7 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
             'workspace' => $this->workspace
         );
 
-        $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('be_users');
+        $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('sys_log');
         $connection->insert(
             'sys_log',
             $fields,