[BUGFIX] Use correct server variable for domain lock evaluation 33/57833/4
authorMarkus Klein <markus.klein@typo3.org>
Tue, 7 Aug 2018 21:39:35 +0000 (23:39 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 9 Aug 2018 10:18:11 +0000 (12:18 +0200)
commit4827431d48cdf01506e9b29996ac8455e849d765
tree944e780b7b2a04c47eb2babdd3a67afdac402a06
parent8a632bda34285e9c59849a61dde6975fdda59bf4
[BUGFIX] Use correct server variable for domain lock evaluation

Patch https://review.typo3.org/57759 introduced a regression by using
REMOTE_HOST instead of HTTP_HOST for matching an authenticating user
against a configured domain lock.

Resolves: #85776
Related: #85761
Releases: master
Change-Id: I1d0087fa0c86506fedccba83fa83502963bd5f6f
Reviewed-on: https://review.typo3.org/57833
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/Authentication/AuthenticationService.php
typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php