1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 22:20:50 +00:00

fix Cookie for session

This commit is contained in:
asta.xie 2014-03-26 13:51:35 +08:00
parent 4f819dbd9a
commit c7437d7590

View File

@ -118,6 +118,7 @@ func (pder *CookieProvider) SessionInit(maxlifetime int64, config string) error
if err != nil {
return err
}
pder.maxlifetime = maxlifetime
return nil
}