Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzhiyao committed Jul 14, 2020
1 parent 5940ae3 commit 678b903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session/sess_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 678b903

Please sign in to comment.