aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/UserService.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-24 16:56:41 +0800
committer杨宇千 <crupest@outlook.com>2019-10-24 16:56:41 +0800
commit89c106169bd2a16310fdaa6e0c48a3402d97de3a (patch)
treec8f5032f86d8a9e5df0117d438ea741cb0a4f613 /Timeline/Services/UserService.cs
parentb67a26248d5dde4c3909c29b92b8a182248bdcc1 (diff)
downloadtimeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.tar.gz
timeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.tar.bz2
timeline-89c106169bd2a16310fdaa6e0c48a3402d97de3a.zip
...
Diffstat (limited to 'Timeline/Services/UserService.cs')
-rw-r--r--Timeline/Services/UserService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/UserService.cs b/Timeline/Services/UserService.cs
index d706d05e..f1317856 100644
--- a/Timeline/Services/UserService.cs
+++ b/Timeline/Services/UserService.cs
@@ -272,7 +272,7 @@ namespace Timeline.Services
Name = username,
EncryptedPassword = _passwordService.HashPassword(password),
RoleString = UserRoleConvert.ToString(administrator),
- Avatar = UserAvatar.Create(DateTime.Now)
+ Avatar = null
};
await _databaseContext.AddAsync(newUser);
await _databaseContext.SaveChangesAsync();