[#xx] treesvc: Fix panic in bearer token processing #510

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:fix-tree-panic into master 2023-07-12 10:23:22 +00:00
Showing only changes of commit aa935a4c40 - Show all commits

View file

@ -110,7 +110,7 @@ func (s *Service) verifyClient(req message, cid cidSDK.ID, rawBearer []byte, op
} }
tb = *tbCore.Value tb = *tbCore.Value
if bt.Impersonate() { if tableFromBearer && bt.Impersonate() {
signer = bt.SigningKeyBytes() signer = bt.SigningKeyBytes()
} }
} }