返回提交历史
Modified
src/controllers/api/loginController.ts
+0
-5
XFEstudio/XFESpaceNinjaServer
chore: remove redundant conditional
2b56e0de
代码差异
1 个文件
+0
-5
@@ -51,11 +51,6 @@ export const loginController: RequestHandler = async (request, response) => {
51
51
? request.query.buildLabel.split(" ").join("+")
52
52
: buildConfig.buildLabel;
53
53
54
if (!isAndroid && version_compare(buildLabel, "2025.12.10.16.35") > 0) {
55
response.status(400).json({ error: "do you want me to change your diapers, too?" });
56
return;
57
}
58
59
54
if (
60
55
!account &&
61
56
((config.autoCreateAccount && loginRequest.ClientType != "webui") ||