Skip to content

Commit

Permalink
Merge pull request #210 from creative-commoners/pulls/2/use-symfony
Browse files Browse the repository at this point in the history
API Use symfony for IPUtils
  • Loading branch information
GuySartorelli authored Aug 19, 2024
2 parents 2d37fea + 8c23041 commit c19e81c
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 c19e81c

Please sign in to comment.