Skip to content

Commit 2e69df0

Browse files
authored
chore: prep for flarum/gdpr
1 parent 9812e94 commit 2e69df0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"flarum/testing": "^1.8.0",
9696
"fof/oauth": "*",
9797
"flarum/phpstan": "^1.8",
98-
"blomstra/gdpr": "@beta",
98+
"flarum/gdpr": "dev-main",
9999
"sycho/flarum-private-facade": "^0.1.16",
100100
"blomstra/turnstile": "*"
101101
}

extend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace IanM\TwoFactor;
1313

14-
use Blomstra\Gdpr\Extend\UserData;
14+
use Flarum\Gdpr\Extend\UserData;
1515
use Flarum\Api\Controller\ShowUserController;
1616
use Flarum\Api\Serializer\BasicUserSerializer;
1717
use Flarum\Api\Serializer\CurrentUserSerializer;
@@ -117,7 +117,7 @@
117117
->addBackendRouteExclusion('twoFactor.oauth.verify')
118118
]),
119119
])
120-
->whenExtensionEnabled('blomstra-gdpr', fn () => [
120+
->whenExtensionEnabled('flarum-gdpr', fn () => [
121121
(new UserData())
122122
->addType(Data\TwoFactorData::class),
123123
]),

src/Data/TwoFactorData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace IanM\TwoFactor\Data;
1313

14-
use Blomstra\Gdpr\Data\Type;
14+
use Flarum\Gdpr\Data\Type;
1515
use IanM\TwoFactor\Model\TwoFactor;
1616
use Illuminate\Support\Arr;
1717

0 commit comments

Comments
 (0)