[BUGFIX] Fix IP lock clause when [FE][lockIP] is 0 90/50890/7
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:15:12 +0000 (21:15 +0100)
commitabbe3e6236d5a38ac3b5443e53b32b8e8f10c64f
tree4be3bfe62d0c10d5b5ea71128470ea89bcdb3389
parent2efd8e85c6e5b9abbc3edfdb4828136c2a83297d
[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/50890
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php