e822642c by Pengfei Xue

fix bug, can not remove session file

1 parent a38a4f03
......@@ -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
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!