Chore: Add loginattempt service (#53687)

* Chore: Add loginattempt service

* Inject loginattemptservice into httpserver
This commit is contained in:
Kat Yang
2022-08-17 08:34:23 +02:00
committed by GitHub
parent c23a9d78ab
commit 7c5ddaea58
6 changed files with 67 additions and 1 deletions
+2
View File
@@ -74,6 +74,7 @@ import (
"github.com/grafana/grafana/pkg/services/login/authinfoservice"
authinfodatabase "github.com/grafana/grafana/pkg/services/login/authinfoservice/database"
"github.com/grafana/grafana/pkg/services/login/loginservice"
"github.com/grafana/grafana/pkg/services/login_attempt/loginattemptimpl"
"github.com/grafana/grafana/pkg/services/ngalert"
ngimage "github.com/grafana/grafana/pkg/services/ngalert/image"
ngmetrics "github.com/grafana/grafana/pkg/services/ngalert/metrics"
@@ -313,6 +314,7 @@ var wireBasicSet = wire.NewSet(
userimpl.ProvideService,
orgimpl.ProvideService,
tempuserimpl.ProvideService,
loginattemptimpl.ProvideService,
datasourceservice.ProvideDataSourceMigrationService,
secretsStore.ProvidePluginSecretMigrationService,
secretsMigrations.ProvideSecretMigrationService,