XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

fix: login failure on U15 (#1997)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1997 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

5fefd189
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -1
Modified src/controllers/api/loginController.ts +3 -1
@@ -107,9 +107,11 @@ const createLoginResponse = (myAddress: string, account: IDatabaseAccountJson, b
107 107 AmazonAuthToken: account.AmazonAuthToken,
108 108 AmazonRefreshToken: account.AmazonRefreshToken,
109 109 Nonce: account.Nonce,
110 NRS: config.NRS,
111 110 BuildLabel: buildLabel
112 111 };
112 if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
113 resp.NRS = config.NRS;
114 }
113 115 if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
114 116 // U17 and up
115 117 resp.IRC = config.myIrcAddresses ?? [myAddress];