This commit is contained in:
jianzhiyao 2020-07-14 09:57:13 +08:00
parent 5940ae33c2
commit 678b90385b
1 changed files with 1 additions and 0 deletions

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
}