summaryrefslogtreecommitdiff
path: root/pkg/authz/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/authz/server.go')
-rw-r--r--pkg/authz/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/authz/server.go b/pkg/authz/server.go
index 434d233..6eedcca 100644
--- a/pkg/authz/server.go
+++ b/pkg/authz/server.go
@@ -30,7 +30,7 @@ func New(ctx context.Context, options ...grpc.ServerOption) *Server {
connection := Connection.From(ctx)
if x.IsZero(connection) {
- auth.RegisterAuthorizationServer(server, NewCheckService())
+ auth.RegisterAuthorizationServer(server, NewLocalCheckService())
} else {
pls.LogNow(ctx, log.Fields{"authzd": map[string]string{
"target": connection.CanonicalTarget(),