in the middle of the work for authentication
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
			
		||||
//       1         2         3         4         5         6         7         8
 | 
			
		||||
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
 | 
			
		||||
 | 
			
		||||
var socket = io.connect();
 | 
			
		||||
var socket = null;
 | 
			
		||||
var focused = null;
 | 
			
		||||
 | 
			
		||||
var docker = new Docker();
 | 
			
		||||
@@ -597,6 +597,12 @@ function initForms() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function init() {
 | 
			
		||||
    $("#logout").attr("href",
 | 
			
		||||
                      window.location.protocol+"//X:X@"
 | 
			
		||||
                      +window.location.hostname
 | 
			
		||||
                      +(window.location.port?":":"")+window.location.port
 | 
			
		||||
                      +window.location.pathname);
 | 
			
		||||
    socket = io.connect();
 | 
			
		||||
    socket.io
 | 
			
		||||
        .on("connect", connected)
 | 
			
		||||
        .on("reconnect", connected)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user