aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-10-24 00:10:31 +0200
committerBond_009 <bond.009@outlook.com>2023-11-14 21:14:21 +0100
commitb62b0ec2b581369de42c69305773f0edb9d701b4 (patch)
tree32ca62e7429f51654b9d22b1be87f2c658535568 /Jellyfin.Server.Implementations
parent99e0d46ad93c1f2e62aed67c26b92f256610f1a6 (diff)
Fix warnings
Diffstat (limited to 'Jellyfin.Server.Implementations')
-rw-r--r--Jellyfin.Server.Implementations/Security/AuthorizationContext.cs2
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
index 77f8f7071b..6bda12c5b4 100644
--- a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
+++ b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
@@ -60,7 +60,7 @@ namespace Jellyfin.Server.Implementations.Security
}
private async Task<AuthorizationInfo> GetAuthorizationInfoFromDictionary(
- IReadOnlyDictionary<string, string>? auth,
+ Dictionary<string, string>? auth,
IHeaderDictionary headers,
IQueryCollection queryString)
{
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index edae4cfc5e..075f4cb3a1 100644
--- a/Jellyfin.Server.Implementations/Users/UserManager.cs
+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs
@@ -775,7 +775,7 @@ namespace Jellyfin.Server.Implementations.Users
return providers;
}
- private IList<IPasswordResetProvider> GetPasswordResetProviders(User user)
+ private IPasswordResetProvider[] GetPasswordResetProviders(User user)
{
var passwordResetProviderId = user.PasswordResetProviderId;
var providers = _passwordResetProviders.Where(i => i.IsEnabled).ToArray();