add password checking before changing
This commit is contained in:
@@ -108,7 +108,13 @@ public class LauncherV2Controller(
|
||||
return false;
|
||||
}
|
||||
|
||||
_saveServer.GetProfile(sessionId).ProfileInfo!.Password = info.Password;
|
||||
if (!Login(info))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
_saveServer.GetProfile(sessionId).ProfileInfo!.Password = info.Change;
|
||||
_saveServer.SaveProfile(sessionId);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user