mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
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
This commit is contained in:
@ -137,7 +137,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, c *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)
|
||||
|
Reference in New Issue
Block a user