Files
grafana/pkg/services/login/authinfoimpl/userprotection.go
T
Karl Persson 1eb19befaa Login: refactor auth info package (#78459)
* Remove unused stats and metrics

* No longer collect metrics

* Remove unused dependency

* Move database from sub package
2023-11-21 14:47:23 +01:00

15 lines
309 B
Go

package authinfoimpl
import "github.com/grafana/grafana/pkg/services/user"
type OSSUserProtectionImpl struct {
}
func ProvideOSSUserProtectionService() *OSSUserProtectionImpl {
return &OSSUserProtectionImpl{}
}
func (*OSSUserProtectionImpl) AllowUserMapping(_ *user.User, _ string) error {
return nil
}