aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Security/AuthenticationRepository.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-26 20:33:47 -0400
committerGitHub <noreply@github.com>2017-08-26 20:33:47 -0400
commit8f4540ed74922407ac791af6180dd35db77abe53 (patch)
tree4753cf834fc0c077beaa88d7e84b11f45aea1423 /Emby.Server.Implementations/Security/AuthenticationRepository.cs
parent7434dae5d2069d9bcb05049099832790b6cafc25 (diff)
parent28297ee620897ef10daedb6acce2957de83d6238 (diff)
Merge pull request #2845 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Security/AuthenticationRepository.cs')
-rw-r--r--Emby.Server.Implementations/Security/AuthenticationRepository.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Security/AuthenticationRepository.cs b/Emby.Server.Implementations/Security/AuthenticationRepository.cs
index d512ff4fb..f5b847ccf 100644
--- a/Emby.Server.Implementations/Security/AuthenticationRepository.cs
+++ b/Emby.Server.Implementations/Security/AuthenticationRepository.cs
@@ -4,7 +4,6 @@ using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
-using System.Threading.Tasks;
using Emby.Server.Implementations.Data;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Security;
@@ -51,14 +50,14 @@ namespace Emby.Server.Implementations.Security
}
}
- public Task Create(AuthenticationInfo info, CancellationToken cancellationToken)
+ public void Create(AuthenticationInfo info, CancellationToken cancellationToken)
{
info.Id = Guid.NewGuid().ToString("N");
- return Update(info, cancellationToken);
+ Update(info, cancellationToken);
}
- public async Task Update(AuthenticationInfo info, CancellationToken cancellationToken)
+ public void Update(AuthenticationInfo info, CancellationToken cancellationToken)
{
if (info == null)
{