浏览代码

Fixed issue where unauthenticated users couldn't use socket.io

Kristian Vos 4 年之前
父节点
当前提交
5618319fa7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      backend/logic/io.js

+ 1 - 0
backend/logic/io.js

@@ -729,6 +729,7 @@ class _IOModule extends CoreClass {
 								});
 							reject(new Error("An error occurred while obtaining the session"));
 						});
+				else resolve();
 			})
 				.then(() => {
 					// call the job that calls the action, passing it the session, and the arguments socket.io passed us