mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 03:40:54 +00:00
fix Cookie for session
This commit is contained in:
parent
4f819dbd9a
commit
c7437d7590
@ -118,6 +118,7 @@ func (pder *CookieProvider) SessionInit(maxlifetime int64, config string) error
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
pder.maxlifetime = maxlifetime
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user