feat: update CountryCode on subsequent client logins #270
@ -68,7 +68,7 @@ const loginController: RequestHandler = async (request, response) => {
|
|||||||
account.Nonce = nonce;
|
account.Nonce = nonce;
|
||||||
}
|
}
|
||||||
if (loginRequest.ClientType != "webui") {
|
if (loginRequest.ClientType != "webui") {
|
||||||
account.CountryCode = loginRequest.lang.toUpperCase();
|
account.CountryCode = loginRequest.lang.toUpperCase();
|
||||||
}
|
}
|
||||||
await account.save();
|
await account.save();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user