[#510] treesvc: Fix panic in bearer token processing
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
24eb988897
commit
b8bcfac531
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func (s *Service) verifyClient(req message, cid cidSDK.ID, rawBearer []byte, op
|
|||
}
|
||||
tb = *tbCore.Value
|
||||
|
||||
if bt.Impersonate() {
|
||||
if tableFromBearer && bt.Impersonate() {
|
||||
signer = bt.SigningKeyBytes()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue