mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
Merge branch 'master' into ef-cleanup
# Conflicts: # Jellyfin.Data/Entities/Libraries/MediaFileStream.cs # Jellyfin.Data/Jellyfin.Data.csproj
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
else if (string.Equals(
|
||||
spr.Pin.Replace("-", string.Empty, StringComparison.Ordinal),
|
||||
pin.Replace("-", string.Empty, StringComparison.Ordinal),
|
||||
StringComparison.InvariantCultureIgnoreCase))
|
||||
StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var resetUser = userManager.GetUserByName(spr.UserName)
|
||||
?? throw new ResourceNotFoundException($"User with a username of {spr.UserName} not found");
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma warning disable CA1307
|
||||
#pragma warning disable CA1309
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -35,7 +36,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
|
||||
if (prefs == null)
|
||||
{
|
||||
prefs = new DisplayPreferences(userId, itemId, client);
|
||||
prefs = new DisplayPreferences(userId, itemId, client);
|
||||
_dbContext.DisplayPreferences.Add(prefs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user