mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 00:50:55 +00:00
add log
This commit is contained in:
parent
5940ae33c2
commit
678b90385b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user