mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-15 06:09:07 +02:00
feat: add ability to force email verification (#1837)
This commit is contained in:
@@ -45,7 +45,7 @@ func TestEveryAPIRouteDeclaresItsAccess(t *testing.T) {
|
||||
}
|
||||
|
||||
engine := gin.New()
|
||||
auth := middleware.NewAuthorization(nil, nil, nil)
|
||||
auth := middleware.NewAuthorization(nil, nil, nil, nil)
|
||||
require.NoError(t, registerRoutes(engine, nil, svc, auth, nil))
|
||||
|
||||
// Collect every API route that bypassed the authz routers
|
||||
|
||||
Reference in New Issue
Block a user