Removed password from profiles

Added migration to remove password property from profiles
This commit is contained in:
Chomp
2025-10-02 09:56:51 +01:00
parent d178a0ae83
commit ba4e8d9c14
12 changed files with 1 additions and 95 deletions
@@ -59,7 +59,6 @@ public class ProfileController(
{
Username = profile.ProfileInfo?.Username ?? string.Empty,
Nickname = "unknown",
HasPassword = profile.ProfileInfo?.Password != string.Empty,
Side = "unknown",
CurrentLevel = 0,
CurrentExperience = 0,
@@ -77,7 +76,6 @@ public class ProfileController(
{
Username = profile.ProfileInfo?.Username,
Nickname = pmc.Info.Nickname,
HasPassword = profile.ProfileInfo?.Password != "",
Side = pmc.Info.Side,
CurrentLevel = pmc.Info.Level,
CurrentExperience = pmc.Info.Experience ?? 0,