diff options
author | 2021-11-27 14:53:34 +0100 | |
---|---|---|
committer | 2021-11-27 14:53:34 +0100 | |
commit | ce22e03f9deaf424aa21c5cc0ef85e58992a7882 (patch) | |
tree | 48711826e97c1590ae514791f5a6e910b98cfae8 /internal/cliactions/testrig/testrig.go | |
parent | run sqlite tests in parallel (#331) (diff) | |
download | gotosocial-ce22e03f9deaf424aa21c5cc0ef85e58992a7882.tar.xz |
Require confirmed email when checking oauth token (#332)
* move token checker to security package
* update tests with new security package
* add oauth token checking to security package
* check if user email confirmed when parsing token
Diffstat (limited to 'internal/cliactions/testrig/testrig.go')
-rw-r--r-- | internal/cliactions/testrig/testrig.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cliactions/testrig/testrig.go b/internal/cliactions/testrig/testrig.go index d13f9e17b..5e55c3d03 100644 --- a/internal/cliactions/testrig/testrig.go +++ b/internal/cliactions/testrig/testrig.go @@ -97,7 +97,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, _ *config.Config) err fileServerModule := fileserver.New(c, processor) adminModule := admin.New(c, processor) statusModule := status.New(c, processor) - securityModule := security.New(c, dbService) + securityModule := security.New(c, dbService, oauthServer) streamingModule := streaming.New(c, processor) favouritesModule := favourites.New(c, processor) blocksModule := blocks.New(c, processor) |