mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	socket: Log the transport type on the authentication line
(imported from commit 7b3ae3ab38da35cbd60aca991665d40b41a7f78f)
This commit is contained in:
		@@ -103,7 +103,8 @@ class SocketConnection(sockjs.tornado.SockJSConnection):
 | 
				
			|||||||
        self.session.send_message({'client_meta': msg['client_meta'],
 | 
					        self.session.send_message({'client_meta': msg['client_meta'],
 | 
				
			||||||
                                   'response': {'result': 'success', 'msg': ''}})
 | 
					                                   'response': {'result': 'success', 'msg': ''}})
 | 
				
			||||||
        self.authenticated = True
 | 
					        self.authenticated = True
 | 
				
			||||||
        fake_log_line(self.session.conn_info, 0, 200, "Authenticated", user_profile.email)
 | 
					        fake_log_line(self.session.conn_info, 0, 200, "Authenticated using %s" % (self.session.transport_name,),
 | 
				
			||||||
 | 
					                      user_profile.email)
 | 
				
			||||||
        ioloop = tornado.ioloop.IOLoop.instance()
 | 
					        ioloop = tornado.ioloop.IOLoop.instance()
 | 
				
			||||||
        ioloop.remove_timeout(self.timeout_handle)
 | 
					        ioloop.remove_timeout(self.timeout_handle)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user