Removed password from profiles
Added migration to remove password property from profiles
This commit is contained in:
@@ -122,7 +122,6 @@ public class LauncherController(
|
||||
ScavengerId = scavId,
|
||||
Aid = hashUtil.GenerateAccountId(),
|
||||
Username = info.Username,
|
||||
Password = info.Password,
|
||||
IsWiped = true,
|
||||
Edition = info.Edition,
|
||||
};
|
||||
@@ -150,22 +149,6 @@ public class LauncherController(
|
||||
return sessionID;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <param name="info"></param>
|
||||
/// <returns></returns>
|
||||
public string? ChangePassword(ChangeRequestData info)
|
||||
{
|
||||
var sessionID = Login(info);
|
||||
|
||||
if (!string.IsNullOrEmpty(sessionID))
|
||||
{
|
||||
saveServer.GetProfile(sessionID).ProfileInfo!.Password = info.Change;
|
||||
}
|
||||
|
||||
return sessionID;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handle launcher requesting profile be wiped
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user