Skip to content
This repository
Browse code

Fix continuous loading when the user doesn't exist

  • Loading branch information...
commit 724d4b2775b26998954a6d2c0f316854d464f418 1 parent ac23ef4
Hyeonje Alex Jun authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/socket.js
1  lib/socket.js
@@ -46,6 +46,7 @@ module.exports = function(socket, connections) {
46 46
           }
47 47
         });
48 48
       } else {
  49
+        socket.emit('login_error', {message: 'No user'});
49 50
       }
50 51
     });
51 52
   });

0 notes on commit 724d4b2

Please sign in to comment.
Something went wrong with that request. Please try again.