Commit 8906d3e7 authored by astaxie's avatar astaxie

Merge pull request #494 from pengfei-xue/develop

fix bug, can not remove session file
parents a38a4f03 e822642c
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment