Added the user login for emby users #435

This commit is contained in:
tidusjar 2017-01-30 23:12:12 +00:00
commit 643676e7ea
15 changed files with 296 additions and 137 deletions

View file

@ -42,6 +42,7 @@ using Ombi.Core;
using Ombi.Core.SettingModels;
using Ombi.Helpers;
using Ombi.Store;
using Ombi.Store.Models.Emby;
using Ombi.Store.Models.Plex;
using Ombi.Store.Repository;
using Ombi.UI.Authentication;
@ -89,7 +90,8 @@ namespace Ombi.UI
var config = new CustomAuthenticationConfiguration
{
RedirectUrl = redirect,
PlexUserRepository = container.Get<IExternalUserRepository<PlexUsers>>(), // TODO emby
PlexUserRepository = container.Get<IExternalUserRepository<PlexUsers>>(),
EmbyUserRepository = container.Get<IExternalUserRepository<EmbyUsers>>(),
LocalUserRepository = container.Get<IUserRepository>()
};