Remove Verified property from User entity and update related migration

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
troogs
2026-04-26 10:25:16 +02:00
parent 48ad7dda87
commit 54effa67ac
5 changed files with 293 additions and 10 deletions

View File

@@ -179,7 +179,6 @@ namespace FoodsharingSiegen.Server.Data.Service
if (entityUser == null) return new(new Exception("User not found"));
if (entityUser.Mail != user.Mail ||
entityUser.Verified != user.Verified ||
entityUser.Type != user.Type ||
entityUser.Groups != user.Groups)
entityUser.ForceLogout = true;
@@ -188,7 +187,6 @@ namespace FoodsharingSiegen.Server.Data.Service
entityUser.Mail = user.Mail;
entityUser.Name = user.Name;
entityUser.Type = user.Type;
entityUser.Verified = user.Verified;
entityUser.Groups = user.Groups;
entityUser.Network = user.Network;