diff --git a/README.md b/README.md index 7cb6a80..91e76ed 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,9 @@ In order for the launcher to work it need to be conected to the api. To change t The default URL for the api can be changed on IniFile.cs ### Client region -The client region can be set on Service on Config.ini +The client region can be set on Config.ini or in the Config menu +* **Jpn** (SEGA) - Full api support * **usa** (PWE) - Full api support * **chn** (Xunlei) - Only launcher support diff --git a/RHLauncher.Forms/ChangePwdForm.cs b/RHLauncher.Forms/ChangePwdForm.cs index 901afe3..173ec41 100644 --- a/RHLauncher.Forms/ChangePwdForm.cs +++ b/RHLauncher.Forms/ChangePwdForm.cs @@ -1,4 +1,5 @@ -using RHLauncher.RHLauncher.Helper; +using Newtonsoft.Json; +using RHLauncher.RHLauncher.Helper; using RHLauncher.RHLauncher.i8n; using System.Text.RegularExpressions; @@ -8,10 +9,10 @@ namespace RHLauncher { private RegistryHandler registryHandler = new(); - public string SendPasswordCodeUrl = Configuration.Default.SendPasswordCodeUrl; - public string VerifyCodeUrl = Configuration.Default.VerifyCodeUrl; - public string ChangePasswordUrl = Configuration.Default.ChangePasswordUrl; - public string Lang = Configuration.Default.Lang; + private readonly string SendPasswordCodeUrl = Configuration.Default.SendPasswordCodeUrl; + private readonly string VerifyCodeUrl = Configuration.Default.VerifyCodeUrl; + private readonly string ChangePasswordUrl = Configuration.Default.ChangePasswordUrl; + private readonly string Lang = Configuration.Default.Lang; private List