返回提交历史
Modified
src/controllers/api/loginController.ts
+3
-1
XFEstudio/XFESpaceNinjaServer
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
代码差异
1 个文件
+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];