[feature] add TOTP two-factor authentication (2FA)

This commit is contained in:
tobi 2025-04-01 18:38:22 +02:00
commit 47b3078f04
70 changed files with 5437 additions and 813 deletions

View file

@ -96,7 +96,7 @@ func (suite *AuthStandardTestSuite) SetupTest() {
testrig.NewNoopWebPushSender(),
suite.mediaManager,
)
suite.authModule = auth.New(suite.db, suite.processor, suite.idp)
suite.authModule = auth.New(&suite.state, suite.processor, suite.idp)
testrig.StandardDBSetup(suite.db, suite.testAccounts)
testrig.StartNoopWorkers(&suite.state)