1
0
mirror of https://github.com/alexedwards/scs.git synced 2025-07-15 01:04:36 +02:00

Remove debugging log message

This commit is contained in:
Alex Edwards
2023-10-22 13:35:21 +02:00
parent f2f88f02d4
commit a803960ebd

View File

@ -50,7 +50,6 @@ func NewWithCleanupInterval(db *gorm.DB, cleanupInterval time.Duration) (*GORMSt
func (g *GORMStore) Find(token string) (b []byte, exists bool, err error) {
s := &session{}
row := g.db.Where("token = ? AND expiry >= ?", token, time.Now()).Limit(1).Find(s)
log.Println("HIT")
if row.Error != nil {
return nil, false, row.Error
}