[BUGFIX] Do not assign variables to removed property 80/61780/4
authorBenni Mack <benni@typo3.org>
Mon, 23 Sep 2019 11:56:13 +0000 (13:56 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 23 Sep 2019 12:30:43 +0000 (14:30 +0200)
The new IPlocker (supporting IPv6) also removed the public property
AbstractUserAuthentication->lockIP.

However, the original assignments are still in place, as they were forgotten
before the 10.0 release.

The change removes the two assignments.

Resolves: #89226
Releases: master
Change-Id: I9fb7bc2c5dbf523a13e6ba6faa0cd51fe3beffdc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61780
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php

index c14cdde..81d1918 100644 (file)
@@ -298,7 +298,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication
     {
         $this->name = self::getCookieName();
         $this->warningEmail = $GLOBALS['TYPO3_CONF_VARS']['BE']['warning_email_addr'];
-        $this->lockIP = $GLOBALS['TYPO3_CONF_VARS']['BE']['lockIP'];
         $this->sessionTimeout = (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'];
         parent::__construct();
     }
index 9ac6833..c0e735c 100644 (file)
@@ -188,7 +188,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication
     public function __construct()
     {
         $this->name = self::getCookieName();
-        $this->lockIP = $GLOBALS['TYPO3_CONF_VARS']['FE']['lockIP'];
         $this->checkPid = $GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid'];
         $this->lifetime = (int)$GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'];
         $this->sessionTimeout = (int)$GLOBALS['TYPO3_CONF_VARS']['FE']['sessionTimeout'];