Remove Verified property from User entity and update related migration
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user