Unverified Commit abc8b780 authored by SongLiang's avatar SongLiang Committed by GitHub

add sessionId prefix

parent 187add9b
......@@ -334,7 +334,7 @@ func (manager *Manager) sessionID() (string, error) {
}
sid := hex.EncodeToString(b)
if manager.config.SessionIDPrefix != "" {
sid = manager.config.SessionIDPrefix + sid
return manager.config.SessionIDPrefix + sid
}
return sid, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment