🔇 Remove authenticate result logging

This commit is contained in:
2024-11-24 21:57:58 +08:00
parent 668d9805e2
commit 1515e29d5b
2 changed files with 4 additions and 7 deletions

View File

@ -4,8 +4,6 @@ import (
"context"
"git.solsynth.dev/hypernet/nexus/pkg/nex"
"git.solsynth.dev/hypernet/passport/pkg/authkit/models"
"github.com/rs/zerolog/log"
"git.solsynth.dev/hypernet/passport/pkg/internal/services"
jsoniter "github.com/json-iterator/go"
@ -14,7 +12,6 @@ import (
func (v *App) Authenticate(_ context.Context, in *proto.AuthRequest) (*proto.AuthReply, error) {
ticket, perms, err := services.Authenticate(uint(in.GetSessionId()))
log.Debug().Uint64("session", in.GetSessionId()).Any("permissions", perms).Msg("Authenticated session...")
if err != nil {
return &proto.AuthReply{
IsValid: false,