Skip to content

Commit

Permalink
API Use symfony for IPUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 19, 2024
1 parent 2d37fea commit 8c23041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"require": {
"php": "^8.1",
"silverstripe/admin": "^2",
"silverstripe/framework": "^5.1",
"silverstripe/framework": "^5.3",
"symfony/http-foundation": "^6.1",
"ua-parser/uap-php": "^3.9.14"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Models/LoginSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use SilverStripe\ORM\FieldType\DBDatetime;
use SilverStripe\Security\RememberLoginHash;
use SilverStripe\SessionManager\Security\LogInAuthenticationHandler;
use SilverStripe\Control\Util\IPUtils;
use Symfony\Component\HttpFoundation\IpUtils;

/**
* Tracks a login session for a specific user on a specific device.
Expand Down

0 comments on commit 8c23041

Please sign in to comment.