diff options
Diffstat (limited to 'app/Auth/ReverseProxy.php')
-rw-r--r-- | app/Auth/ReverseProxy.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Auth/ReverseProxy.php b/app/Auth/ReverseProxy.php index 6880f5fa..5aca881a 100644 --- a/app/Auth/ReverseProxy.php +++ b/app/Auth/ReverseProxy.php @@ -2,6 +2,7 @@ namespace Auth; +use Core\Request; use Core\Security; /** @@ -44,8 +45,8 @@ class ReverseProxy extends Base $this->lastLogin->create( self::AUTH_NAME, $user['id'], - $this->user->getIpAddress(), - $this->user->getUserAgent() + Request::getIpAddress(), + Request::getUserAgent() ); return true; |