aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/InvalidAuthProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Library/InvalidAuthProvider.cs')
-rw-r--r--Emby.Server.Implementations/Library/InvalidAuthProvider.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Library/InvalidAuthProvider.cs b/Emby.Server.Implementations/Library/InvalidAuthProvider.cs
index ee2569562..133864708 100644
--- a/Emby.Server.Implementations/Library/InvalidAuthProvider.cs
+++ b/Emby.Server.Implementations/Library/InvalidAuthProvider.cs
@@ -9,7 +9,7 @@ namespace Emby.Server.Implementations.Library
{
public class InvalidAuthProvider : IAuthenticationProvider
{
- public string Name => "InvalidorMissingAuthenticationProvider";
+ public string Name => "InvalidOrMissingAuthenticationProvider";
public bool IsEnabled => true;
@@ -25,7 +25,7 @@ namespace Emby.Server.Implementations.Library
public Task ChangePassword(User user, string newPassword)
{
- return Task.FromResult(true);
+ return Task.CompletedTask;
}
public void ChangeEasyPassword(User user, string newPassword, string newPasswordHash)
@@ -35,12 +35,12 @@ namespace Emby.Server.Implementations.Library
public string GetPasswordHash(User user)
{
- return "";
+ return string.Empty;
}
public string GetEasyPasswordHash(User user)
{
- return "";
+ return string.Empty;
}
}
}