mirror of
https://github.com/astaxie/beego.git
synced 2025-07-26 23:25:32 +00:00
Merge branch 'develop' of https://github.com/voidd/beego
This commit is contained in:
@@ -143,7 +143,7 @@ func (fp *FileProvider) SessionExist(sid string) bool {
|
||||
|
||||
// Remove all files in this save path
|
||||
func (fp *FileProvider) SessionDestroy(sid string) error {
|
||||
os.Remove(path.Join(fp.savePath))
|
||||
os.Remove(path.Join(fp.savePath, string(sid[0]), string(sid[1]), sid))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user