diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-02 01:16:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-02 01:16:59 -0400 |
| commit | 9bab99d4d8659e69478722d72028e84b64575ab2 (patch) | |
| tree | a9cd44ae3dd2c68ef28cdc296b2115122986fc34 /MediaBrowser.ServerApplication/ApplicationHost.cs | |
| parent | 389390b82ecfbb48e0486f8f132046ddf8624e00 (diff) | |
run all ajax through apiclient
Diffstat (limited to 'MediaBrowser.ServerApplication/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/ApplicationHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index dbca94065..e8fb7bfcb 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -671,7 +671,7 @@ namespace MediaBrowser.ServerApplication var authContext = new AuthorizationContext(); RegisterSingleInstance<IAuthorizationContext>(authContext); RegisterSingleInstance<ISessionContext>(new SessionContext(UserManager, authContext, SessionManager)); - RegisterSingleInstance<IAuthService>(new AuthService()); + RegisterSingleInstance<IAuthService>(new AuthService(UserManager, SessionManager, authContext)); RegisterSingleInstance<ISubtitleEncoder>(new SubtitleEncoder(LibraryManager, LogManager.GetLogger("SubtitleEncoder"), ApplicationPaths, FileSystemManager, MediaEncoder)); |
