server/lib/websocket-auth.js
function getUsernameByToken(token) {
  for(var username in authTable) {
    if(authTable[username].indexOf(token) > -1) {
      return username;
    }
  }
  return null;
}
function getUsernameByToken(token) {
  for(var username in authTable) {
    if(authTable[username].indexOf(token) > -1) {
      return username;
    }
  }
  return null;
}
function getUsernameByToken ( token ) { for ( var username in authTable ) { if ( authTable [ username ] . indexOf ( token ) > - 1 ) { return username ; } } return null ; }
Default to 60 sec
Default to 60 sec