mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 08:56:33 +00:00
fix cache issue
This commit is contained in:
@@ -10,7 +10,8 @@ public class User
|
||||
|
||||
public UserConfig? UserConfig { get; set; } = null!;
|
||||
|
||||
public static string GetCacheKey(string email) => $"{nameof(User)}.{email}";
|
||||
public static string GetCacheKey(string email) =>
|
||||
string.IsNullOrEmpty(email) ? "" : $"{nameof(User)}.{email}";
|
||||
}
|
||||
|
||||
public class UserConfig
|
||||
|
||||
Reference in New Issue
Block a user