mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 07:06:34 +00:00
add enable disable remove user and isenabled in user column
This commit is contained in:
@@ -11,6 +11,7 @@ public class User
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime? LastLogin { get; set; }
|
||||
public UserConfig? UserConfig { get; set; } = null!;
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
public static string GetCacheKey(string email) =>
|
||||
string.IsNullOrEmpty(email) ? "" : $"{nameof(User)}.{email}";
|
||||
|
||||
Reference in New Issue
Block a user