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)
(cherry picked from commit 11b5a73551
)
This commit is contained in:
parent
6959392fab
commit
27513b7bfd
@ -147,7 +147,7 @@ func (repo *TokenVerifierRepo) verifySessionToken(ctx context.Context, sessionID
|
||||
ctx, span := tracing.NewSpan(ctx)
|
||||
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 {
|
||||
return "", "", "", err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user