Skip to content

Commit ed96212

Browse files
committed
remove hack with session tocuh
1 parent 5dcb562 commit ed96212

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

gateway/middleware.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,6 @@ func (t *BaseMiddleware) CheckSessionAndIdentityForValidKey(originalKey string,
731731

732732
t.Logger().Debug("Lifetime is: ", session.Lifetime(t.Spec.GetSessionLifetimeRespectsKeyExpiration(), t.Spec.SessionLifetime, t.Gw.GetConfig().ForceGlobalSessionLifetime, t.Gw.GetConfig().GlobalSessionLifetime))
733733

734-
session.Touch()
735-
736734
return session, found
737735
}
738736

0 commit comments

Comments
 (0)