[BUGFIX] Fix IP lock clause when [FE][lockIP] is 0 08/50908/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Dec 2016 09:11:14 +0000 (10:11 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 8 Dec 2016 20:25:59 +0000 (21:25 +0100)
commit1ad7aa1a33f6c17301846a53a11c2034fea83d94
treece15ac9d6a2afca30d0b15e56e987c2dd771cd27
parent96af95c541a4d8b7be52edc1fc17b9033d3150cb
[BUGFIX] Fix IP lock clause when [FE][lockIP] is 0

The method getNewSessionRecord doesn't check
lockIP setting 0 correctly. Add a check to disable checking
when lockIP is 0.

Resolves: #78902
Releases: master,7.6
Change-Id: Ic060ed36e9a7d4fdb1534ffe76ce8bbbee31038c
Reviewed-on: https://review.typo3.org/50908
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php