mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
add two new examples and share the app's specific logger instance with sessions databases and APIBuilder
This commit is contained in:
@@ -70,7 +70,7 @@ func (p *provider) newSession(man *Sessions, sid string, expires time.Duration)
|
||||
lifetime.Begin(expires, onExpire)
|
||||
}
|
||||
|
||||
sess.Lifetime = lifetime
|
||||
sess.Lifetime = &lifetime
|
||||
return sess
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user