Merge branch 'master' into fix-memoryleak

This commit is contained in:
Patrick Barron
2020-07-13 17:45:54 +00:00
committed by GitHub
6 changed files with 53 additions and 35 deletions

View File

@@ -133,7 +133,7 @@ namespace Jellyfin.Server.Implementations.Users
.Include(user => user.Preferences)
.Include(user => user.AccessSchedules)
.Include(user => user.ProfileImage)
.ToList()
.AsEnumerable()
.FirstOrDefault(u => string.Equals(u.Username, name, StringComparison.OrdinalIgnoreCase));
}