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;
|
||||
$sessionInfo = null;
|
||||
$userInfoReal = null;
|
||||
$remoteAddr = (string)filter_input(INPUT_GET, 'REMOTE_ADDR');
|
||||
$remoteAddr = (string)filter_input(INPUT_SERVER, 'REMOTE_ADDR');
|
||||
|
||||
if($tokenInfo->hasUserId && $tokenInfo->hasSessionToken) {
|
||||
$tokenBuilder = new AuthTokenBuilder($tokenInfo);
|
||||
|
|
Loading…
Add table
Reference in a new issue