mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix: trigger session by id in verifySessionToken (#6325)
This commit is contained in:
parent
45262e6829
commit
11b5a73551
@ -147,7 +147,7 @@ func (repo *TokenVerifierRepo) verifySessionToken(ctx context.Context, sessionID
|
|||||||
ctx, span := tracing.NewSpan(ctx)
|
ctx, span := tracing.NewSpan(ctx)
|
||||||
defer func() { span.EndWithError(err) }()
|
defer func() { span.EndWithError(err) }()
|
||||||
|
|
||||||
session, err := repo.Query.SessionByID(ctx, false, sessionID, token)
|
session, err := repo.Query.SessionByID(ctx, true, sessionID, token)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", "", err
|
return "", "", "", err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user