aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-08-18 20:12:25 +0200
committerBond_009 <bond.009@outlook.com>2019-08-18 20:12:25 +0200
commit24fac4b19172eae6a46208d712de09ac97e59d07 (patch)
tree1cfd65cfa3692c4b04fa8ef9b3280ebe63b6a6eb
parent4bb0c2d0532e345f467f6cbee77a78851d26e386 (diff)
Fix UserNotFoundError
-rw-r--r--Emby.Server.Implementations/Library/UserManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.cs
index 086527883..a7ea13ca6 100644
--- a/Emby.Server.Implementations/Library/UserManager.cs
+++ b/Emby.Server.Implementations/Library/UserManager.cs
@@ -558,6 +558,7 @@ namespace Emby.Server.Implementations.Library
{
_users = new ConcurrentDictionary<Guid, User>(
users.Select(x => new KeyValuePair<Guid, User>(x.Id, x)));
+ return;
}
var defaultName = Environment.UserName;