mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-16 06:32:28 +00:00
Don't serialize user language or timezone
This commit is contained in:
parent
ca317d3afc
commit
ac192b0904
1 changed files with 2 additions and 0 deletions
|
@ -184,8 +184,10 @@ public class User
|
|||
public string? ApprovedIPAddress { get; set; }
|
||||
#nullable disable
|
||||
|
||||
[JsonIgnore]
|
||||
public string Language { get; set; } = "en";
|
||||
|
||||
[JsonIgnore]
|
||||
public string TimeZone { get; set; } = TimeZoneInfo.Local.Id;
|
||||
|
||||
public PrivacyType LevelVisibility { get; set; } = PrivacyType.All;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue