aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/UserManager.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-05-19 22:12:03 -0400
committerPatrick Barron <barronpm@gmail.com>2020-05-20 10:04:00 -0400
commit1d1a145ad4386b39b983d539001abfccf5f53b23 (patch)
tree04e59bb2ffe07f3495a55e78b8fa95a109c84cf9 /Jellyfin.Server.Implementations/Users/UserManager.cs
parent292993d8efabf0380d7b6a53e074324b4c92f377 (diff)
Fix issues and add profile image support
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/UserManager.cs')
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 291574155..18616f75f 100644
--- a/Jellyfin.Server.Implementations/Users/UserManager.cs
+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs
@@ -190,7 +190,10 @@ namespace Jellyfin.Server.Implementations.Users
var dbContext = _dbProvider.CreateContext();
- var newUser = new User(name, _defaultAuthenticationProvider.GetType().FullName);
+ var newUser = new User(
+ name,
+ _defaultAuthenticationProvider.GetType().FullName,
+ _defaultPasswordResetProvider.GetType().FullName);
dbContext.Users.Add(newUser);
dbContext.SaveChanges();