aboutsummaryrefslogtreecommitdiffstats
path: root/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store.go')
-rw-r--r--store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store.go b/store.go
index c0ee33b..9a28840 100644
--- a/store.go
+++ b/store.go
@@ -46,6 +46,7 @@ func (store *PgStore) GetSession(id string) (*Session, bool) {
if err := row.Scan(s.Id, s.UserId); err != nil {
return nil, false
}
+ store.sessionCache[s.Id] = s
return s, true
}