Read remote address from the right place.
This commit is contained in:
parent
33344541d6
commit
5333a3277f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ elseif(filter_has_var(INPUT_COOKIE, 'msz_uid') && filter_has_var(INPUT_COOKIE, '
|
||||||
$userInfo = null;
|
$userInfo = null;
|
||||||
$sessionInfo = null;
|
$sessionInfo = null;
|
||||||
$userInfoReal = null;
|
$userInfoReal = null;
|
||||||
$remoteAddr = (string)filter_input(INPUT_GET, 'REMOTE_ADDR');
|
$remoteAddr = (string)filter_input(INPUT_SERVER, 'REMOTE_ADDR');
|
||||||
|
|
||||||
if($tokenInfo->hasUserId && $tokenInfo->hasSessionToken) {
|
if($tokenInfo->hasUserId && $tokenInfo->hasSessionToken) {
|
||||||
$tokenBuilder = new AuthTokenBuilder($tokenInfo);
|
$tokenBuilder = new AuthTokenBuilder($tokenInfo);
|
||||||
|
|
Loading…
Add table
Reference in a new issue