aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/UserInfo.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-22 09:53:31 +0800
committerGitHub <noreply@github.com>2020-11-22 09:53:31 +0800
commitb3c9cf4bf66bd3b78e94dc522c53e7f7522897f0 (patch)
tree996eed1f087a50e8d5cd865e1440f4dbb8a7873b /BackEnd/Timeline/Models/Http/UserInfo.cs
parente0785b385138057a23ffd1703a7265c371aef45d (diff)
parentf1aabc06f1005b26bd1c0c5f36c98c28a62fc31e (diff)
downloadtimeline-b3c9cf4bf66bd3b78e94dc522c53e7f7522897f0.tar.gz
timeline-b3c9cf4bf66bd3b78e94dc522c53e7f7522897f0.tar.bz2
timeline-b3c9cf4bf66bd3b78e94dc522c53e7f7522897f0.zip
Merge pull request #189 from crupest/admin
Refactor front end to use the new permission system. Enhance admin page.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/UserInfo.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/UserInfo.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/BackEnd/Timeline/Models/Http/UserInfo.cs b/BackEnd/Timeline/Models/Http/UserInfo.cs
index 26b04e90..0f865172 100644
--- a/BackEnd/Timeline/Models/Http/UserInfo.cs
+++ b/BackEnd/Timeline/Models/Http/UserInfo.cs
@@ -25,10 +25,6 @@ namespace Timeline.Models.Http
/// Nickname.
/// </summary>
public string Nickname { get; set; } = default!;
- /// <summary>
- /// True if the user is a administrator.
- /// </summary>
- public bool? Administrator { get; set; } = default!;
#pragma warning disable CA2227 // Collection properties should be read only
/// <summary>
/// The permissions of the user.