backend: Add concurrency checks to admin user edits

This commit is contained in:
GonnaHetzMe committed 2026-12-04 18:25:30 +01:00
1 parent 91d0c06c83
commit bd8eb65e56
18 files changed
+216 -23

No files matched your search

@@ -26,6 +26,7 @@ public sealed class User : IHasCreatedAt
public bool EmailNotificationsEnabled { get; private set; } = true;
public int FailedLoginCount { get; private set; }
public DateTime? LockoutUntil { get; private set; }
public int RowVersion { get; private set; }
public DateTime CreatedAt { get; set; }
public string FullName => $"{FirstName} {LastName}";