1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 17:53:28 +00:00
This commit is contained in:
jianzhiyao 2020-07-14 09:57:13 +08:00
parent 5940ae33c2
commit 678b90385b

View File

@ -181,6 +181,7 @@ func (fp *FileProvider) SessionExist(sid string) bool {
defer filepder.lock.Unlock()
if len(sid) < 2 {
SLogger.Println("min length of session id is 2", sid)
return false
}