fix: login failure on U15 (#1997)
Reviewed-on: #1997 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
f6cbc02c47
commit
5fefd189af
@ -107,9 +107,11 @@ const createLoginResponse = (myAddress: string, account: IDatabaseAccountJson, b
|
||||
AmazonAuthToken: account.AmazonAuthToken,
|
||||
AmazonRefreshToken: account.AmazonRefreshToken,
|
||||
Nonce: account.Nonce,
|
||||
NRS: config.NRS,
|
||||
BuildLabel: buildLabel
|
||||
};
|
||||
if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
|
||||
resp.NRS = config.NRS;
|
||||
}
|
||||
if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
|
||||
// U17 and up
|
||||
resp.IRC = config.myIrcAddresses ?? [myAddress];
|
||||
|
Loading…
x
Reference in New Issue
Block a user