Changed SessionID format.

Pusher libs are validating the sessionID format. So I need to conform
with its format.
This commit is contained in:
claudemiro
2015-05-17 09:25:57 -03:00
parent 7b578c4fb4
commit 485bc01abe
3 changed files with 28 additions and 10 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
return
}
sessionID := utils.RandomHash()
sessionID := utils.GenerateSessionID()
if err := onOpen(conn, w, r, sessionID, app); err != nil {
emitWSError(err, conn)