add client param for auth plugin

This commit is contained in:
ginuerzh
2023-09-21 19:58:16 +08:00
parent 3fb3ca8dea
commit 4700171909
4 changed files with 27 additions and 15 deletions

View File

@ -33,7 +33,7 @@ func (s *server) Authenticate(ctx context.Context, in *proto.AuthenticateRequest
reply.Ok = true
reply.Id = "gost"
}
log.Printf("auth: %s, %s, %v", in.GetUsername(), in.GetPassword(), reply.Ok)
log.Printf("auth: %s %s, %s, %v", in.Client, in.GetUsername(), in.GetPassword(), reply.Ok)
return reply, nil
}