diff --git a/composer.json b/composer.json index 27e56a3..9c340c9 100644 --- a/composer.json +++ b/composer.json @@ -95,7 +95,7 @@ "flarum/testing": "^1.8.0", "fof/oauth": "*", "flarum/phpstan": "^1.8", - "blomstra/gdpr": "@beta", + "flarum/gdpr": "dev-main", "sycho/flarum-private-facade": "^0.1.16", "blomstra/turnstile": "*" } diff --git a/extend.php b/extend.php index 5d1ddd1..2c4d799 100644 --- a/extend.php +++ b/extend.php @@ -11,13 +11,13 @@ namespace IanM\TwoFactor; -use Blomstra\Gdpr\Extend\UserData; use Flarum\Api\Controller\ShowUserController; use Flarum\Api\Serializer\BasicUserSerializer; use Flarum\Api\Serializer\CurrentUserSerializer; use Flarum\Api\Serializer\ForumSerializer; use Flarum\Api\Serializer\GroupSerializer; use Flarum\Extend; +use Flarum\Gdpr\Extend\UserData; use Flarum\Group\Event\Saving as GroupSaving; use Flarum\Group\Group; use Flarum\User\User; @@ -117,7 +117,7 @@ ->addBackendRouteExclusion('twoFactor.oauth.verify') ]), ]) - ->whenExtensionEnabled('blomstra-gdpr', fn () => [ + ->whenExtensionEnabled('flarum-gdpr', fn () => [ (new UserData()) ->addType(Data\TwoFactorData::class), ]), diff --git a/src/Data/TwoFactorData.php b/src/Data/TwoFactorData.php index 2f9889c..e8f6fc6 100644 --- a/src/Data/TwoFactorData.php +++ b/src/Data/TwoFactorData.php @@ -11,7 +11,7 @@ namespace IanM\TwoFactor\Data; -use Blomstra\Gdpr\Data\Type; +use Flarum\Gdpr\Data\Type; use IanM\TwoFactor\Model\TwoFactor; use Illuminate\Support\Arr;